]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/db/dbtest.h
*** empty log message ***
[wxWidgets.git] / samples / db / dbtest.h
index 516204e3897aeea72a468c422f208f005f3ac6b6..b6d1bd6ea34501c7ee6e6b40b0fe12ac872fa18e 100644 (file)
@@ -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();