]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/colordlg.h
Fixes so joystick not only compiles on Linux, but it actually works too!
[wxWidgets.git] / include / wx / colordlg.h
index 54a8fdc5153039a8c313506e030caa85085cd871..f08d224b5b393cde9bfda24808968f5bebefe0f9 100644 (file)
 
 #if wxUSE_COLOURDLG
 
-#if defined(__WXMSW__)
+#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
     #include "wx/msw/colordlg.h"
+#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
+    #include "wx/mac/colordlg.h"
 #else
     #include "wx/generic/colrdlgg.h"
 
     #define wxColourDialog wxGenericColourDialog
-    #define sm_classwxColourDialog sm_classwxGenericColourDialog
 #endif
 
 // get the colour from user and return it