]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/db/listdb.h
compilation fixes, Makefile.in added
[wxWidgets.git] / samples / db / listdb.h
index f510fbf130ad3f7f5fcdb83e9b4bb7d86719ce0c..fb64588a42fed9d82eb7bcdfa2e77645d0c48a0e 100644 (file)
 #endif
 
 /*
-/*
-// SYNOPSIS START
-
        Contains dialog class for creating a data table lookup listbox
-
-// SYNOPSIS STOP
 */
 
 #ifndef LISTDB_DOT_H
@@ -28,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;
@@ -117,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