Fixed problems which prevented creation/recreation of tables with MSAcces
General cleanup of code in the sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,7 +24,7 @@ enum DialogModes {mView,mCreate,mEdit,mSearch};
|
||||
#define FILE_RECREATE_INDEXES 120
|
||||
#define FILE_EXIT 199
|
||||
#define EDIT_PARAMETERS 200
|
||||
#define ABOUT_DEMO 300
|
||||
#define HELP_ABOUT 300
|
||||
|
||||
// this seems to be missing, Robert Roebling (?)
|
||||
#ifndef MAX_PATH
|
||||
@@ -212,6 +212,11 @@ class DatabaseDemoApp: public wxApp
|
||||
bool WriteParamFile(Cparameters ¶ms);
|
||||
|
||||
void CreateDataTable(bool recreate);
|
||||
|
||||
// Pointer to the wxDbTable instance that is used to manipulate
|
||||
// the data in memory and in the database
|
||||
Ccontact *Contact;
|
||||
|
||||
}; // DatabaseDemoApp
|
||||
|
||||
|
||||
@@ -256,10 +261,6 @@ class CeditorDlg : public wxPanel
|
||||
|
||||
enum DialogModes mode;
|
||||
|
||||
// Pointer to the wxDbTable instance that is used to manipulate
|
||||
// the data in memory and in the database
|
||||
Ccontact *Contact;
|
||||
|
||||
CeditorDlg(wxWindow *parent);
|
||||
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
|
Reference in New Issue
Block a user