]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
merged in the commit from the 2.2 branch
[wxWidgets.git] / include / wx / defs.h
index 7c36877cf51d56d65f9e5ab1631bd7cd1f2ab1c8..b850a396d0253990213d6e218102dc53cad23adc 100644 (file)
 #include "wx/setup.h"
 
 // just in case they were defined in setup.h
+#ifdef PACKAGE
 #undef PACKAGE
+#endif
+
+#ifdef VERSION
 #undef VERSION
+#endif
 
 // this has to be done after including setup.h which might
 // define __HPUX__ 1 itself
@@ -1315,6 +1320,7 @@ enum wxStretch
 #define wxID_NOTOALL            5114
 #define wxID_ABORT              5115
 #define wxID_RETRY              5116
+#define wxID_IGNORE             5117
 
 // IDs used by generic file dialog (11 consecutive starting from this value)
 #define wxID_FILEDLGG           5900
@@ -1807,7 +1813,7 @@ typedef void *          WXLPCREATESTRUCT;
 typedef unsigned long   WXMPARAM;
 typedef unsigned long   WXMSGID;
 typedef void*           WXRESULT;
-typedef int             (*WXFARPROC)();
+//typedef int             (*WXFARPROC)();
 // some windows handles not defined by PM
 typedef unsigned long   HANDLE;
 typedef unsigned long   HICON;