]> git.saurik.com Git - wxWidgets.git/commitdiff
applied patch 1675101 - reduce flicker
authorBenjamin Williams <bwilliams@kirix.com>
Mon, 12 Mar 2007 10:30:47 +0000 (10:30 +0000)
committerBenjamin Williams <bwilliams@kirix.com>
Mon, 12 Mar 2007 10:30:47 +0000 (10:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/auibook.cpp

index 87fcc7845443acea9615757eea0405a23f1fc6a5..c9c6e2a7eb595c3d9eedf905d3793516703ebd48 100644 (file)
@@ -1935,7 +1935,8 @@ void wxAuiTabContainer::DoShowHide()
     for (i = 0; i < page_count; ++i)
     {
         wxAuiNotebookPage& page = pages.Item(i);
-        ShowWnd(page.window, page.active);
+        if (!page.active)
+            ShowWnd(page.window, false);
     }
 }