]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dcscreen.cpp
derive wxSTC from wxTextAreaBase to provide wxTextCtrl-like methods (see #9114)
[wxWidgets.git] / src / x11 / dcscreen.cpp
index 1683688160224c3317637064ed9ab0f55c705e5f..7eff9560cda26a2fa06d01b78cb24969d267661f 100644 (file)
@@ -32,8 +32,8 @@
 
 IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl,wxPaintDCImpl)
 
-wxScreenDCImpl::wxScreenDCImpl( wxDC* owner ) :
-  wxPaintDCImpl( owner )
+wxScreenDCImpl::wxScreenDCImpl( wxDC* owner )
+              : wxPaintDCImpl( owner )
 {
     m_ok = false;
 
@@ -67,3 +67,7 @@ wxScreenDCImpl::~wxScreenDCImpl()
     XSetSubwindowMode( (Display*) m_display, (GC) m_bgGC, ClipByChildren );
 }
 
+void wxScreenDCImpl::DoGetSize(int *width, int *height) const
+{
+    wxDisplaySize(width, height);
+}