]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dcscreen.cpp
corrected wxGetWorkingDirectory for mac (stripping last char off)
[wxWidgets.git] / src / gtk1 / dcscreen.cpp
index 825cd2b2deacd64b2fd236c779b49d9f8645d4b9..a79f479bbf60a8602e4bfc1a27b0251c8f565d1e 100644 (file)
@@ -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);
+}