X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1a688e45e02b82e0b85001ee5a85d542a9c0acd..5875d39c9ba19f518e691792524f2fd03261c825:/src/os2/dcscreen.cpp diff --git a/src/os2/dcscreen.cpp b/src/os2/dcscreen.cpp index 3b3c6314b8..4cf8dcc35b 100644 --- a/src/os2/dcscreen.cpp +++ b/src/os2/dcscreen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcscreen.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -40,4 +36,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