feat(modulo): wire up move bundle page in wizard, related to #844
This commit is contained in:
parent
af6e91b516
commit
2d84db409d
|
@ -115,6 +115,7 @@ protected:
|
||||||
void add_path_continue_clicked( wxCommandEvent& event );
|
void add_path_continue_clicked( wxCommandEvent& event );
|
||||||
void accessibility_enable_clicked( wxCommandEvent& event );
|
void accessibility_enable_clicked( wxCommandEvent& event );
|
||||||
void quit_espanso_clicked( wxCommandEvent& event );
|
void quit_espanso_clicked( wxCommandEvent& event );
|
||||||
|
void move_bundle_quit_clicked( wxCommandEvent& event );
|
||||||
|
|
||||||
void navigate_to_next_page_or_close();
|
void navigate_to_next_page_or_close();
|
||||||
void change_default_button(int target_page);
|
void change_default_button(int target_page);
|
||||||
|
@ -373,6 +374,11 @@ void DerivedFrame::change_default_button(int target_page)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void DerivedFrame::move_bundle_quit_clicked( wxCommandEvent& event )
|
||||||
|
{
|
||||||
|
Close(true);
|
||||||
|
}
|
||||||
|
|
||||||
bool WizardApp::OnInit()
|
bool WizardApp::OnInit()
|
||||||
{
|
{
|
||||||
wxInitAllImageHandlers();
|
wxInitAllImageHandlers();
|
||||||
|
|
|
@ -758,7 +758,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Start</property>
|
<property name="label">Quit</property>
|
||||||
<property name="margins"></property>
|
<property name="margins"></property>
|
||||||
<property name="markup">0</property>
|
<property name="markup">0</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
|
|
|
@ -86,7 +86,7 @@ WizardFrame::WizardFrame( wxWindow* parent, wxWindowID id, const wxString& title
|
||||||
|
|
||||||
bSizer22->Add( 0, 20, 1, wxEXPAND, 5 );
|
bSizer22->Add( 0, 20, 1, wxEXPAND, 5 );
|
||||||
|
|
||||||
move_bundle_quit_button = new wxButton( move_bundle_panel, wxID_ANY, wxT("Start"), wxDefaultPosition, wxDefaultSize, 0 );
|
move_bundle_quit_button = new wxButton( move_bundle_panel, wxID_ANY, wxT("Quit"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
|
|
||||||
move_bundle_quit_button->SetDefault();
|
move_bundle_quit_button->SetDefault();
|
||||||
bSizer22->Add( move_bundle_quit_button, 0, wxALIGN_RIGHT|wxALL, 10 );
|
bSizer22->Add( move_bundle_quit_button, 0, wxALIGN_RIGHT|wxALL, 10 );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user