]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
add an assert indicating that old code overriding OnExecute() must be updated with 2.9
[wxWidgets.git] / include / wx / defs.h
index 521ed775a385294dbfce52228df9624a58ce09dc..3d34d267b23adccc922cbfeab0315f9e1a6e8661 100644 (file)
@@ -2083,7 +2083,8 @@ enum wxHitTest
 /*  GDI descriptions */
 /*  ---------------------------------------------------------------------------- */
 
-enum
+/* don't use any elements of this enum in the new code */
+enum wxDeprecatedGUIConstants
 {
     /*  Text font families */
     wxDEFAULT    = 70,
@@ -2136,7 +2137,7 @@ enum
     wxHORIZONTAL_HATCH,
     wxVERTICAL_HATCH,
     wxFIRST_HATCH = wxBDIAGONAL_HATCH,
-    wxLAST_HATCH = wxVERTICAL_HATCH,
+    wxLAST_HATCH = wxVERTICAL_HATCH
 #endif
 };