X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdccdfabb29bd51aded9aac141e1f7bbd6c85443..677dc0ed1a3ff68af15f6246d6d0708d5264b07a:/src/x11/dcscreen.cpp diff --git a/src/x11/dcscreen.cpp b/src/x11/dcscreen.cpp index 8fb5786a5a..58ac7e3a18 100644 --- a/src/x11/dcscreen.cpp +++ b/src/x11/dcscreen.cpp @@ -18,9 +18,9 @@ #include "wx/app.h" #include "wx/utils.h" #include "wx/window.h" + #include "wx/frame.h" #endif -#include "wx/frame.h" #include "wx/fontutil.h" #include "wx/x11/private.h" @@ -96,24 +96,9 @@ bool wxScreenDC::StartDrawingOnTop( wxWindow *window ) return StartDrawingOnTop( &rect ); } -bool wxScreenDC::StartDrawingOnTop( wxRect *rectIn ) +bool wxScreenDC::StartDrawingOnTop( wxRect *WXUNUSED(rectIn) ) { // VZ: should we do the same thing that wxMotif wxScreenDC does here? -#if 0 - wxRect rect; - if ( rectIn ) - { - rect = *rectIn; - } - else - { - rect.x = - rect.y = 0; - - DoGetSize(&rect.width, &rect.height); - } -#endif // 0 - return true; }