X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6514d0ea0ea262dd6a2f59e86c416b68e0fb742..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/x11/dcscreen.cpp diff --git a/src/x11/dcscreen.cpp b/src/x11/dcscreen.cpp index 1683688160..7eff9560cd 100644 --- a/src/x11/dcscreen.cpp +++ b/src/x11/dcscreen.cpp @@ -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); +}