X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/761989ffb536ab51e977142aa018064ef32b539b..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/samples/dialogs/dialogs.h diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index ccf3da8b7d..ccd0c20183 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -28,6 +28,7 @@ class MyModelessDialog : public wxDialog public: MyModelessDialog(wxWindow *parent); + void OnButton(wxCommandEvent& event); void OnClose(wxCloseEvent& event); private: @@ -91,8 +92,6 @@ public: void OnExit(wxCommandEvent& event); - void OnButton(wxCommandEvent& event); - private: MyModelessDialog *m_dialog;