// 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"
m_cmap = gdk_colormap_get_system();
m_window = GDK_ROOT_PARENT();
+ m_isScreenDC = TRUE;
+
SetUpDC();
gdk_gc_set_subwindow( m_penGC, GDK_INCLUDE_INFERIORS );
return TRUE;
}
+void wxScreenDC::DoGetSize(int *width, int *height) const
+{
+ wxDisplaySize(width, height);
+}