X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0d314713977c17937a63a2de34f835ce239aa51..d44d0cbd7343e36ddd3657dd97cd5eb7018d2585:/src/msw/dc.cpp diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 0ec26a8b0e..df9046419a 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -41,9 +41,6 @@ #include "wx/icon.h" #endif -#include "wx/msw/private.h" // needs to be before #include -#include "wx/msw/missing.h" // needs to be before #include - #include "wx/sysopt.h" #include "wx/dcprint.h" #include "wx/module.h" @@ -55,10 +52,7 @@ #include -#if wxUSE_COMMON_DIALOGS && !defined(__WXMICROWIN__) - #include -#endif - +#include "wx/msw/wrapcdlg.h" #ifndef __WIN32__ #include #endif @@ -2227,7 +2221,7 @@ void wxDC::DoGetSizeMM(int *w, int *h) const wxSize wxDC::GetPPI() const { - WXMICROWIN_CHECK_HDC_RET(wxSize()) + WXMICROWIN_CHECK_HDC_RET(wxSize(0,0)) int x = ::GetDeviceCaps(GetHdc(), LOGPIXELSX); int y = ::GetDeviceCaps(GetHdc(), LOGPIXELSY);