]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxprec.h
Added wxPoem sample; fixed some Dialog Editor problems; wxStaticBitmap and wxBitmapButton
[wxWidgets.git] / include / wx / wxprec.h
index 9e12d8f875b7291a33bd827b80c42399d1befd21..a5e0b4bce88707c3d44680a987866c20730cec7b 100644 (file)
@@ -27,7 +27,9 @@
 
 // Comment this out if you don't mind slower compilation of the wxWindows
 // library
+#ifndef __WXMAC__
 #include <windows.h>
+#endif
 
 #ifdef GetClassInfo
 #undef GetClassInfo
@@ -57,5 +59,8 @@
 #undef FindResource
 #endif
 
+#else
+  // always include this file (under Unix it's generated by configure)
+  #include "wx/setup.h"
 #endif