// Name of the table to be created/opened
-const char CONTACT_TABLE_NAME[] = "CONTACTS";
+const char CONTACT_TABLE_NAME[] = "contacts";
// Nuber of columns in the above table
const int CONTACT_NO_COLS = 12; // 0-11
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
bool GetNextRec();
bool GetPrevRec();
bool GetRec(char *whereStr);
+
+DECLARE_EVENT_TABLE()
}; // CeditorDlg
#define EDITOR_DIALOG 199
public:
CparameterDlg(wxWindow *parent);
- bool OnClose(void);
+ void OnCloseWindow(wxCloseEvent& event);
void OnCommand(wxWindow& win, wxCommandEvent& event);
void OnActivate(bool) {}; // necessary for hot keys
bool Save();
void FillDataSourceList();
+DECLARE_EVENT_TABLE()
}; // CparameterDlg
#define PARAMETER_DIALOG 400
CqueryDlg(wxWindow *parent, wxDB *pDb, char *tblName[], char *pWhereArg);
+ 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();
void ProcessCountBtn();
bool ValidateWhereClause();
+DECLARE_EVENT_TABLE()
}; // CqueryDlg
#define QUERY_DIALOG 300