]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/db/listdb.h
fixed wxBitmapButton bug with bitmaps with masks
[wxWidgets.git] / samples / db / listdb.h
index f3aa8f24f6a9e633b9245d1874499303ceea5b6e..fb64588a42fed9d82eb7bcdfa2e77645d0c48a0e 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <wx/dbtable.h>
 
-const LOOKUP_COL_LEN = 250;
+const int LOOKUP_COL_LEN = 250;
 
 // Global database connection
 extern wxDB *READONLY_DB;
@@ -112,9 +112,12 @@ class ClookUpDlg : public wxDialog
                                          wxDB                  *pDb = READONLY_DB,             // Database connection pointer
                                          bool           allowOk                = TRUE);                // is the OK button enabled
 
+               void     OnButton( wxCommandEvent &event );
                void            OnCommand(wxWindow& win, wxCommandEvent& event);
-               bool            OnClose();
+               void            OnClose(wxCloseEvent& event);
                void            OnActivate(bool) {};  // necessary for hot keys
+
+DECLARE_EVENT_TABLE()
 };
 
 #define LOOKUP_DIALOG                   500