X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37f214d588b02079a3ddf64c2e46585ca1657c1b..cfcc3671aee71eb6849c5687500ab26e65943b68:/include/wx/colordlg.h

diff --git a/include/wx/colordlg.h b/include/wx/colordlg.h
index 0e3c7cfaf4..4f32249140 100644
--- a/include/wx/colordlg.h
+++ b/include/wx/colordlg.h
@@ -12,14 +12,14 @@
 #elif defined(__WXMAC__)
 #include "wx/generic/colrdlgg.h"
 #elif defined(__WXPM__)
-#include "wx/os2/colordlg.h"
+#include "wx/generic/colrdlgg.h"
 #elif defined(__WXSTUBS__)
 #include "wx/generic/colrdlgg.h"
 #endif
 
-#if defined(__WXMSW__)
+#if !defined(__WXMSW__)
 #define wxColourDialog wxGenericColourDialog
-#define sm_classwxColourDialog sm_classwxColourDialog
+#define sm_classwxColourDialog sm_classwxGenericColourDialog
 #endif
 
 #endif