From 65172406d2abee2b68acf9b0f804e828136a77bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 25 May 2005 13:02:59 +0000 Subject: [PATCH] Simpler fix for Borland. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 766ca6ea38..e357b0185b 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1659,7 +1659,7 @@ void wxWindowMSW::DoSetSize(int x, int y, int width, int height, int sizeFlags) // save the pending dimensions or not. This isn't done in DoMoveWindow // (where the hdwp is used) because some controls have thier own // DoMoveWindow so it is easier to catch it here. - wxWindowMSW *parent = wxDynamicCast(GetParent(), wxWindowMSW); + wxWindowMSW *parent = GetParent(); HDWP hdwp = parent && !IsTopLevel() ? (HDWP)parent->m_hDWP : NULL; if (hdwp) { -- 2.45.2