#include <wx/dbtable.h>
-const LOOKUP_COL_LEN = 250;
+const int LOOKUP_COL_LEN = 250;
// Global database connection
extern wxDB *READONLY_DB;
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