X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/761989ffb536ab51e977142aa018064ef32b539b..470252df3c26d9c2d00cdbba46e43285720240ed:/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;