]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/colordlg.h
Don't infinitely recurse when setting the child focus. Without
[wxWidgets.git] / include / wx / colordlg.h
index 8b8ce1d2922bf0257f67a60ae4335a33f5bd300b..f08d224b5b393cde9bfda24808968f5bebefe0f9 100644 (file)
 
 #if wxUSE_COLOURDLG
 
-#if defined(__WXMSW__)
+#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
     #include "wx/msw/colordlg.h"
-#elif defined(__WXMAC__)
+#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