]> git.saurik.com Git - wxWidgets.git/commitdiff
clipping bug fixed
authorBenjamin Williams <bwilliams@kirix.com>
Tue, 7 Nov 2006 13:10:32 +0000 (13:10 +0000)
committerBenjamin Williams <bwilliams@kirix.com>
Tue, 7 Nov 2006 13:10:32 +0000 (13:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/auibook.cpp

index b6e23ea1cdec3fa93033ab0ca10cb44ec02755be..d1a4585e2e282f93eeb01db8c385bc9271088b1e 100644 (file)
@@ -1624,6 +1624,10 @@ void wxAuiTabContainer::Render(wxDC* raw_dc, wxWindow* wnd)
         rect.x = offset;
         rect.width = m_rect.width - right_buttons_width - offset - 2;
 
+        if (rect.width <= 0)
+            break;
+
+
 
 
         m_art->DrawTab(dc,