]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wx_cw.h
Fixed initialisation order warning
[wxWidgets.git] / include / wx / wx_cw.h
index 5480949118df0d0b9aa4bcd0500d31bacc0131d5..2c902ecf5e83cd9b4ad60c50994356deeff74202 100644 (file)
@@ -1,60 +1,64 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        wx_cw.h
 /////////////////////////////////////////////////////////////////////////////
 // Name:        wx_cw.h
-// Purpose:     wxWindows definitions for CodeWarrior builds
+// Purpose:     wxWidgets definitions for CodeWarrior builds
 // Author:      Stefan Csomor
 // Modified by:
 // Created:     12/10/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
 // Author:      Stefan Csomor
 // Modified by:
 // Created:     12/10/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_CW__
 #define _WX_CW__
 
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_CW__
 #define _WX_CW__
 
+#if __MWERKS__ >= 0x2400
+#pragma old_argmatch on
+#endif
+
 #if __option(profile)
 #ifdef __cplusplus
 #if __option(profile)
 #ifdef __cplusplus
-       #if __POWERPC__
-               #include <wx_PPC++_prof.mch>
-       #elif __INTEL__
-               #include <wx_x86++_prof.mch>
-       #elif __CFM68K__
-               #include <wx_cfm++_prof.mch>
-       #else
-               #include <wx_68k++_prof.mch>
-       #endif
+    #if __POWERPC__
+        #include <wx_PPC++_prof.mch>
+    #elif __INTEL__
+        #include <wx_x86++_prof.mch>
+    #elif __CFM68K__
+        #include <wx_cfm++_prof.mch>
+    #else
+        #include <wx_68k++_prof.mch>
+    #endif
 #else
 #else
-       #if __POWERPC__
-               #include <wx_PPC_prof.mch>
-       #elif __INTEL__
-               #include <wx_x86_prof.mch>
-       #elif __CFM68K__
-               #include <wx_cfm_prof.mch>
-       #else
-               #include <wx_68k_prof.mch>
-       #endif
+    #if __POWERPC__
+        #include <wx_PPC_prof.mch>
+    #elif __INTEL__
+        #include <wx_x86_prof.mch>
+    #elif __CFM68K__
+        #include <wx_cfm_prof.mch>
+    #else
+        #include <wx_68k_prof.mch>
+    #endif
 #endif
 #else
 #ifdef __cplusplus
 #endif
 #else
 #ifdef __cplusplus
-       #if __POWERPC__
-               #include <wx_PPC++.mch>
-       #elif __INTEL__
-               #include <wx_x86++.mch>
-       #elif __CFM68K__
-               #include <wx_cfm++.mch>
-       #else
-               #include <wx_68k++.mch>
-       #endif
+    #if __POWERPC__
+        #include <wx_PPC++.mch>
+    #elif __INTEL__
+        #include <wx_x86++.mch>
+    #elif __CFM68K__
+        #include <wx_cfm++.mch>
+    #else
+        #include <wx_68k++.mch>
+    #endif
 #else
 #else
-       #if __POWERPC__
-               #include <wx_PPC.mch>
-       #elif __INTEL__
-               #include <wx_x86.mch>
-       #elif __CFM68K__
-               #include <wx_cfm.mch>
-       #else
-               #include <wx_68k.mch>
-       #endif
+    #if __POWERPC__
+        #include <wx_PPC.mch>
+    #elif __INTEL__
+        #include <wx_x86.mch>
+    #elif __CFM68K__
+        #include <wx_cfm.mch>
+    #else
+        #include <wx_68k.mch>
+    #endif
 #endif
 #endif
 #endif
 #endif
 #endif
 #endif