X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..88a01064f05bea04682cfde8d82b110d4c80299b:/src/msw/dcscreen.cpp diff --git a/src/msw/dcscreen.cpp b/src/msw/dcscreen.cpp index e638335d78..0dc06f194c 100644 --- a/src/msw/dcscreen.cpp +++ b/src/msw/dcscreen.cpp @@ -25,7 +25,7 @@ #include "wx/dcscreen.h" -IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC) +IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC) // Create a DC representing the whole screen wxScreenDC::wxScreenDC() @@ -37,10 +37,3 @@ wxScreenDC::wxScreenDC() ::SetBkMode( GetHdc(), TRANSPARENT ); } -void wxScreenDC::DoGetSize(int *width, int *height) const -{ - // skip wxWindowDC version because it doesn't work without a valid m_canvas - // (which we don't have) - wxDC::DoGetSize(width, height); -} -