make File->Exit work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,7 +26,7 @@ public:
|
||||
MyMiniFrame(wxFrame *parent, wxWindowID id = wxID_ANY, const wxString& title = _T("wxToolBar Sample"),
|
||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize );
|
||||
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
virtual bool Destroy();
|
||||
void OnReparent(wxCommandEvent& event);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
MyMainFrame(wxFrame *parent, wxWindowID id = wxID_ANY, const wxString& title = _T("wxToolBar Sample"),
|
||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize );
|
||||
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
void OnExit(wxCommandEvent&);
|
||||
void OnReparent(wxCommandEvent& event);
|
||||
void OnSetSize_150_150(wxCommandEvent &event);
|
||||
void OnSetSize_200_200(wxCommandEvent &event);
|
||||
|
Reference in New Issue
Block a user