X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d2a2b601b1994333886dff8f53d82a714c4042f..14971e5b9f0b77aeeef6138a513a43556ce0c6a0:/samples/db/dbtest.h diff --git a/samples/db/dbtest.h b/samples/db/dbtest.h index 516204e389..b6d1bd6ea3 100644 --- a/samples/db/dbtest.h +++ b/samples/db/dbtest.h @@ -165,7 +165,7 @@ class CeditorDlg : public wxPanel Ccontact *Contact; // this is the table object that will be being manipulated CeditorDlg(wxWindow *parent); - bool OnClose(void); + void OnCloseWindow(wxCloseEvent& event); void OnButton( wxCommandEvent &event ); void OnCommand(wxWindow& win, wxCommandEvent& event); void OnActivate(bool) {}; // necessary for hot keys @@ -243,7 +243,7 @@ class CparameterDlg : public wxDialog public: CparameterDlg(wxWindow *parent); - bool OnClose(void); + void OnCloseWindow(wxCloseEvent& event); void OnCommand(wxWindow& win, wxCommandEvent& event); void OnActivate(bool) {}; // necessary for hot keys @@ -252,6 +252,7 @@ class CparameterDlg : public wxDialog bool Save(); void FillDataSourceList(); +DECLARE_EVENT_TABLE() }; // CparameterDlg #define PARAMETER_DIALOG 400 @@ -341,7 +342,7 @@ class CqueryDlg : public wxDialog void OnButton( wxCommandEvent &event ); void OnCommand(wxWindow& win, wxCommandEvent& event); - bool OnClose(); + void OnCloseWindow(wxCloseEvent& event); void OnActivate(bool) {}; // necessary for hot keys // bool SetWidgetPtrs();