X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d25c05039a7c6ebbddfe16d99234dc756e75356..9cf99fc093f9c45b6b5d8d8b357699d826c9916a:/src/gtk1/dcscreen.cpp?ds=sidebyside diff --git a/src/gtk1/dcscreen.cpp b/src/gtk1/dcscreen.cpp index 825cd2b2de..a79f479bbf 100644 --- a/src/gtk1/dcscreen.cpp +++ b/src/gtk1/dcscreen.cpp @@ -38,6 +38,8 @@ wxScreenDC::wxScreenDC() m_cmap = gdk_colormap_get_system(); m_window = GDK_ROOT_PARENT(); + m_isScreenDC = TRUE; + SetUpDC(); gdk_gc_set_subwindow( m_penGC, GDK_INCLUDE_INFERIORS ); @@ -99,3 +101,7 @@ bool wxScreenDC::EndDrawingOnTop() return TRUE; } +void wxScreenDC::DoGetSize(int *width, int *height) const +{ + wxDisplaySize(width, height); +}