From: Włodzimierz Skiba Date: Tue, 10 Oct 2006 08:05:19 +0000 (+0000) Subject: wxUnivMSW build fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/967acfb5cdd88cde04a941da75190d66b3a5f1f2?ds=sidebyside wxUnivMSW build fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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() ) {