]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
const added to GetBitmap it was my fault.
[wxWidgets.git] / include / wx / defs.h
index 0cbd0e9effc2a5cf0258b3906902fb9568a687fa..13c94ff050bac1bbd81270eda7796336e73be513 100644 (file)
 typedef unsigned int bool;
 #endif
 
+#if defined(_MSC_VER) && (_MSC_VER == 1020)
+#define bool unsigned int
+#endif
+
 #if ( defined(_MSC_VER) && (_MSC_VER <= 800) ) || defined(__GNUWIN32__)
 #define byte unsigned char
 #endif
@@ -884,5 +888,21 @@ typedef int (__stdcall *WXFARPROC)();
 
 #endif
 
+#ifdef __WXMOTIF__
+// Stand-ins for X/Xt/Motif types
+typedef void*           WXWindow;
+typedef void*           WXWidget;
+typedef void*           WXAppContext;
+typedef void*           WXColormap;
+typedef void            WXDisplay;
+typedef void            WXEvent;
+typedef void*           WXCursor;
+typedef void*           WXPixmap;
+typedef void*           WXFontStructPtr;
+typedef void*           WXGC;
+typedef void*           WXRegion;
+typedef void*           WXFont;
+#endif
+
 #endif
     // _WX_DEFS_H_