X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0d314713977c17937a63a2de34f835ce239aa51..9b89f11ad8f5456b6823598f7f2c3c1070a6f10c:/src/msw/dc.cpp?ds=inline diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 0ec26a8b0e..a56e537832 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -2227,7 +2227,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);