Skip to content

Commit

Permalink
Add control to OSX preferences panel as well
Browse files Browse the repository at this point in the history
  • Loading branch information
undergroundmonorail committed Sep 21, 2021
1 parent 7f0b1f0 commit 3049a1c
Show file tree
Hide file tree
Showing 3 changed files with 220 additions and 1 deletion.
16 changes: 16 additions & 0 deletions src/dialogs/wxFB_PreferencesPanelsOSX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,22 @@ wxFB_SolvePanel::wxFB_SolvePanel( wxWindow* parent, wxWindowID id, const wxPoint

bSizer12->Add( bSizer13, 0, wxLEFT, 25 );

m_staticText16 = new wxStaticText( this, wxID_ANY, wxT("When pressing space"), wxDefaultPosition, wxDefaultSize, 0 );
m_staticText16->Wrap( -1 );
bSizer12->Add( m_staticText16, 0, wxLEFT|wxRIGHT|wxTOP, 5 );

wxBoxSizer* bSizer25;
bSizer25 = new wxBoxSizer( wxVERTICAL );

m_insertBlankOnSpace = new wxRadioButton( this, wxID_ANY, wxT("Insert a blank"), wxDefaultPosition, wxDefaultSize, 0 );
bSizer25->Add( m_insertBlankOnSpace, 0, wxLEFT|wxRIGHT|wxTOP, 5 );

m_switchDirectionsOnSpace = new wxRadioButton( this, wxID_ANY, wxT("Switch directions"), wxDefaultPosition, wxDefaultSize, 0 );
bSizer25->Add( m_switchDirectionsOnSpace, 0, wxLEFT|wxRIGHT|wxTOP, 5 );


bSizer12->Add( bSizer25, 1, wxLEFT, 25 );

m_blankOnDirection = new wxCheckBox( this, wxID_ANY, wxT("Move to blank after switching direction"), wxDefaultPosition, wxDefaultSize, 0 );
m_blankOnDirection->SetValue(true);
bSizer12->Add( m_blankOnDirection, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
Expand Down
Loading

0 comments on commit 3049a1c

Please sign in to comment.