X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02b7b6b072762ff1e02950109a751815ac7429fd..0090a1538c9881e084d0bd904c21ab64c43435ce:/src/msw/colordlg.cpp diff --git a/src/msw/colordlg.cpp b/src/msw/colordlg.cpp index eb8936211d..cc836963a9 100644 --- a/src/msw/colordlg.cpp +++ b/src/msw/colordlg.cpp @@ -42,17 +42,17 @@ #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" #if !defined(__WIN32__) || defined(__WXWINCE__) #include #endif -#include #include #include @@ -231,4 +231,4 @@ void wxColourDialog::DoGetClientSize(int *width, int *height) const *height = 299; } -#endif +#endif // wxUSE_COLOURDLG && !(__SMARTPHONE__ && __WXWINCE__)