X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38c7b3d369a2be83990d5d0bdedc0b0f678509ea..b2b3ccc524ad5024fac46a40cd3639ebe7cc0de4:/src/gtk1/dcscreen.cpp diff --git a/src/gtk1/dcscreen.cpp b/src/gtk1/dcscreen.cpp index bd5f0c22e0..4bab18b379 100644 --- a/src/gtk1/dcscreen.cpp +++ b/src/gtk1/dcscreen.cpp @@ -283,7 +283,7 @@ bool wxScreenDC::StartDrawingOnTop( wxWindow *window ) window->GetSize( &w, &h ); window->ClientToScreen( &x, &y ); - wxRectangle rect; + wxRect rect; rect.x = x; rect.y = y; rect.width = 0; @@ -292,7 +292,7 @@ bool wxScreenDC::StartDrawingOnTop( wxWindow *window ) return StartDrawingOnTop( &rect ); } -bool wxScreenDC::StartDrawingOnTop( wxRectangle *rect ) +bool wxScreenDC::StartDrawingOnTop( wxRect *rect ) { int x = 0; int y = 0;