From: Václav Slavík Date: Sun, 16 Mar 2008 11:10:40 +0000 (+0000) Subject: ShowWithEffect must call wxWindowBase::Show X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/304435501bf40f2311e3df9f350a32a6ea142ddd ShowWithEffect must call wxWindowBase::Show git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 1f4fe79892..87a4f12601 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -725,6 +725,9 @@ wxWindowMSW::MSWShowWithEffect(bool show, unsigned timeout, wxDirection dir) { + if ( !wxWindowBase::Show(show) ) + return false; + typedef BOOL (WINAPI *AnimateWindow_t)(HWND, DWORD, DWORD); static AnimateWindow_t s_pfnAnimateWindow = NULL;