]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dcscreen.cpp
Border corrections
[wxWidgets.git] / src / x11 / dcscreen.cpp
index 8fb5786a5a82c9773591a0e9a111fcf6d535b83a..58ac7e3a18e8e9f8ada153ac00ea22f4cebbf5a5 100644 (file)
@@ -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;
 }