X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1a688e45e02b82e0b85001ee5a85d542a9c0acd..5767e836997b965b9d936f1d65244bb886c39025:/src/os2/dcscreen.cpp diff --git a/src/os2/dcscreen.cpp b/src/os2/dcscreen.cpp index 3b3c6314b8..36f65d1de7 100644 --- a/src/os2/dcscreen.cpp +++ b/src/os2/dcscreen.cpp @@ -40,4 +40,17 @@ wxScreenDC::wxScreenDC() ::GpiSetBackMix(m_hPS, BM_LEAVEALONE); } // end of wxScreenDC::wxScreenDC() +void wxScreenDC::DoGetSize( + int* pnWidth +, int* pnHeight +) const +{ + // + // Skip wxWindowDC version because it doesn't work without a valid m_canvas + // (which we don't have) + // + wxDC::DoGetSize( pnWidth + ,pnHeight + ); +} // end of wxScreenDC::DoGetSize