]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/button.h
simplify wxEVT_MENU_OPEN/CLOSE generation
[wxWidgets.git] / include / wx / button.h
index 58f8ab55fe4fb9058e863729558c98149ebf28a4..a88d7176149abaabaf625846866db218d79ee0e9 100644 (file)
 // wxButton specific flags
 // ----------------------------------------------------------------------------
 
+#if WXWIN_COMPATIBILITY_2_8
 // These two flags are obsolete
 #define wxBU_NOAUTODRAW      0x0000
 #define wxBU_AUTODRAW        0x0004
+#endif
 
 // by default, the buttons will be created with some (system dependent)
 // minimal size to make them look nicer, giving this style will make them as