]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
OK, maybe not done yet, have to fix Unicode compilation one more place...
[wxWidgets.git] / include / wx / defs.h
index 1e17c22014d0830be32aa31e3feea69c57f56282..1cc239db8b365464d3ed04dca932d92eda9758e4 100644 (file)
 #include <stddef.h>
 
 #include "wx/setup.h"
+
+#ifdef PACKAGE
+  #undef PACKAGE
+#endif
+#ifdef VERSION
+  #undef VERSION
+#endif
+
 #include "wx/version.h"
 
 // ----------------------------------------------------------------------------
@@ -610,7 +618,13 @@ enum wxOrientation
  */
 // use native docking
 #define wxMB_DOCKABLE       0x0001
+// make all menus tearoff menus, even if not set on per-menu basis
+#define wxMB_TEAROFF        0x0002
 
+/*
+ * wxMenu style flags
+ */
+#define wxMENU_TEAROFF      0x0001
 
 /*
  * Apply to all panel items