]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
Initialize wxListItem::m_itemId to -1, not 0.
[wxWidgets.git] / include / wx / platform.h
index 2d570db1a4de1038687a698e3cf741532661dee7..59b553c909601e77a62492593e8f704e9695f0d1 100644 (file)
@@ -15,6 +15,7 @@
 #define _WX_PLATFORM_H_
 
 
+
 /*
     Codewarrior doesn't define any Windows symbols until some headers
     are included
 #    include <TargetConditionals.h>
 #    include <AvailabilityMacros.h>
 #    include "wx/osx/config_xcode.h"
+#    ifndef __WXOSX__
+#        define __WXOSX__ 1
+#    endif
+#    ifndef __WXMAC__
+#        define __WXMAC__ 1
+#    endif
 #endif
 
 /*
     #include "wx/setup_gccxml.h"
 #endif
 
+/*
+   Convenience for any optional classes that use the wxAnyButton base class.
+ */
+#if wxUSE_TOGGLEBTN || wxUSE_BUTTON
+    #define wxHAS_ANY_BUTTON
+#endif
+
 
 /*
    Hardware platform detection.