#include <stddef.h>
#include "wx/setup.h"
+
+#ifdef PACKAGE
+ #undef PACKAGE
+#endif
+#ifdef VERSION
+ #undef VERSION
+#endif
+
#include "wx/version.h"
// ----------------------------------------------------------------------------
# pragma warning(disable:4100) // unreferenced formal parameter
# pragma warning(disable:4511) // copy ctor couldn't be generated
# pragma warning(disable:4512) // operator=() couldn't be generated
+#ifndef WIN32
+# pragma warning(disable:4134) // conversion between pointers to members of same class
+# pragma warning(disable:4135) // conversion between different integral types
+# pragma warning(disable:4769) // assignment of near pointer to long integer
+#endif
#endif // __VISUALC__
// suppress some Salford C++ warnings
*/
// 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