X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02b7b6b072762ff1e02950109a751815ac7429fd..172541f64be8fcddb08f1c121da256d08c24a70b:/src/msw/colordlg.cpp diff --git a/src/msw/colordlg.cpp b/src/msw/colordlg.cpp index eb8936211d..18705d6d08 100644 --- a/src/msw/colordlg.cpp +++ b/src/msw/colordlg.cpp @@ -42,17 +42,14 @@ #include "wx/msgdlg.h" #endif -#if wxUSE_COLOURDLG && !defined(__SMARTPHONE__) +#if wxUSE_COLOURDLG && !(defined(__SMARTPHONE__) && defined(__WXWINCE__)) #include "wx/msw/private.h" #include "wx/colordlg.h" #include "wx/cmndata.h" +#include "wx/math.h" +#include "wx/msw/wrapcdlg.h" -#if !defined(__WIN32__) || defined(__WXWINCE__) - #include -#endif - -#include #include #include @@ -231,4 +228,4 @@ void wxColourDialog::DoGetClientSize(int *width, int *height) const *height = 299; } -#endif +#endif // wxUSE_COLOURDLG && !(__SMARTPHONE__ && __WXWINCE__)