X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7df07b10aaf306995cc93f67706113bae9173135..f1d5aa4eca541a2f90044a63f555985d6bd4adf3:/samples/validate/validate.h diff --git a/samples/validate/validate.h b/samples/validate/validate.h index 3a4bd970e5..09f7db7bda 100644 --- a/samples/validate/validate.h +++ b/samples/validate/validate.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: validate.h -// Purpose: wxWindows validation sample +// Purpose: wxWidgets validation sample // Author: Julian Smart // Modified by: // Created: 04/01/98 @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -# pragma interface -#endif - #include "wx/app.h" #include "wx/combobox.h" #include "wx/dialog.h" @@ -75,14 +71,15 @@ public: int m_radiobox_choice; }; -#define VALIDATE_DIALOG_ID 200 - -#define VALIDATE_TEST_DIALOG 2 -#define VALIDATE_TOGGLE_BELL 3 +enum { + VALIDATE_DIALOG_ID = wxID_HIGHEST, -#define VALIDATE_TEXT 101 -#define VALIDATE_LIST 102 -#define VALIDATE_CHECK 103 -#define VALIDATE_COMBO 105 -#define VALIDATE_RADIO 106 + VALIDATE_TEST_DIALOG, + VALIDATE_TOGGLE_BELL, + VALIDATE_TEXT, + VALIDATE_LIST, + VALIDATE_CHECK, + VALIDATE_COMBO, + VALIDATE_RADIO +};