X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1a688e45e02b82e0b85001ee5a85d542a9c0acd..b58a1455e15477cac9d335b5f7a2c3fc3111b342:/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