]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dcscreen.cpp
implemented Freeze/Thaw() (patch 922156)
[wxWidgets.git] / src / gtk1 / dcscreen.cpp
index 51a09f4806bd0943be912e838e64c4a4990fdf94..b404333e13c64e59edbb08ce3af65bae4b27576f 100644 (file)
@@ -7,10 +7,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "dcscreen.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/dcscreen.h"
 #include "wx/window.h"
 
@@ -101,3 +104,7 @@ bool wxScreenDC::EndDrawingOnTop()
     return TRUE;
 }
 
+void wxScreenDC::DoGetSize(int *width, int *height) const
+{
+    wxDisplaySize(width, height);
+}