From 967acfb5cdd88cde04a941da75190d66b3a5f1f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 10 Oct 2006 08:05:19 +0000 Subject: [PATCH] wxUnivMSW build fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index bd7a853adf..7f55f0db5b 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1703,7 +1703,7 @@ void wxWindowMSW::DoGetPosition(int *x, int *y) const { if ( wxTheApp->GetLayoutDirection() == wxLayout_RightToLeft ) { - // In RTL mode, we want the logical left x-coordinate, + // In RTL mode, we want the logical left x-coordinate, // which would be the physical right x-coordinate. point.x = rect.right; } @@ -3952,7 +3952,7 @@ bool wxWindowMSW::HandlePower(WXWPARAM WXUNUSED_IN_WINCE(wParam), bool wxWindowMSW::IsDoubleBuffered() const { - for ( const wxWindow *wnd = this; + for ( const wxWindowMSW *wnd = this; wnd && !wnd->IsTopLevel(); wnd = wnd->GetParent() ) { -- 2.50.0