X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3677ad324e00cb69cf56765a43b54c63a5e4c70..c77eea28f955e9c5e59d952594ccc5e96de1597e:/samples/db/dbtest.h diff --git a/samples/db/dbtest.h b/samples/db/dbtest.h index 09bfe28a1b..9d710d0896 100644 --- a/samples/db/dbtest.h +++ b/samples/db/dbtest.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dbtest.h" -#endif - #include "wx/string.h" #include "wx/dbtable.h" @@ -26,9 +22,9 @@ enum DialogModes {mView,mCreate,mEdit,mSearch}; #if wxUSE_GRID #define FILE_DBGRID_TABLE 130 #endif -#define FILE_EXIT 199 +#define FILE_EXIT wxID_EXIT #define EDIT_PARAMETERS 200 -#define HELP_ABOUT 300 +#define HELP_ABOUT wxID_ABOUT // this seems to be missing, Robert Roebling (?) #ifndef MAX_PATH @@ -40,7 +36,7 @@ enum DialogModes {mView,mCreate,mEdit,mSearch}; #endif // Name of the table to be created/opened -const wxString CONTACT_TABLE_NAME = wxT("contacts"); +const wxString CONTACT_TABLE_NAME = wxT("CONTACTS"); #define wxODBC_BLOB_SUPPORT