moved button handler into the modeless dialog itself - at least like this it works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user