]> git.saurik.com Git - wxWidgets.git/commitdiff
ShowWithEffect must call wxWindowBase::Show
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 16 Mar 2008 11:10:40 +0000 (11:10 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 16 Mar 2008 11:10:40 +0000 (11:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 1f4fe798921c708ae7fa590063b2b9ac9f616b11..87a4f1260194833b6bf777a9ac4f9f57103fcf58 100644 (file)
@@ -725,6 +725,9 @@ wxWindowMSW::MSWShowWithEffect(bool show,
                                unsigned timeout,
                                wxDirection dir)
 {
                                unsigned timeout,
                                wxDirection dir)
 {
+    if ( !wxWindowBase::Show(show) )
+        return false;
+
     typedef BOOL (WINAPI *AnimateWindow_t)(HWND, DWORD, DWORD);
 
     static AnimateWindow_t s_pfnAnimateWindow = NULL;
     typedef BOOL (WINAPI *AnimateWindow_t)(HWND, DWORD, DWORD);
 
     static AnimateWindow_t s_pfnAnimateWindow = NULL;