#include "wx/validate.h"
#endif // wxUSE_GUI
-#if wxUSE_GUI
- #if defined(__VISAGECPP__) && __IBMCPP__ >= 400
- // define these here to keep from getting multiply defines externals
+
+#if defined(__VISAGECPP__) && __IBMCPP__ >= 400
+// must define these static for VA or else you get multiply defined symbols everywhere
const wxEventType wxEVT_NULL = 0;
const wxEventType wxEVT_FIRST = 10000;
/* Tab and notebook control event types */
const wxEventType wxEVT_COMMAND_TAB_SEL_CHANGED = wxEVT_FIRST + 800;
const wxEventType wxEVT_COMMAND_TAB_SEL_CHANGING = wxEVT_FIRST + 801;
-
-#if defined(__BORLANDC__) && defined(__WIN16__)
-/* For 16-bit BC++, these 2 are identical (truncated) */
-const wxEventType wxEVT_COMMAND_NB_PAGE_CHANGED = wxEVT_FIRST + 802;
-const wxEventType wxEVT_COMMAND_NB_PAGE_CHANGING = wxEVT_FIRST + 803;
-#else
const wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = wxEVT_FIRST + 802;
const wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING = wxEVT_FIRST + 803;
-#endif
/* Splitter events */
const wxEventType wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = wxEVT_FIRST + 850;
const wxEventType wxEVT_CALENDAR_WEEKDAY_CLICKED = wxEVT_FIRST + 955;
const wxEventType wxEVT_USER_FIRST = wxEVT_FIRST + 2000;
-
- #endif // VisualAge C++ V4.0
-#endif // wxUSE_GUI
+#endif
// ----------------------------------------------------------------------------
// wxWin macros