]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed dangling pointer bug
authorJulian Smart <julian@anthemion.co.uk>
Sat, 6 Oct 2007 09:02:24 +0000 (09:02 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 6 Oct 2007 09:02:24 +0000 (09:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index 4abd0216ae522e8c24427cb190288ab4bbba9d86..7fd2412a14d79b7b1322eb22c1dd7637ec9f2965 100644 (file)
@@ -2293,6 +2293,8 @@ void wxAuiManager::GetDockSizeConstraint(double* width_pct, double* height_pct)
 
 void wxAuiManager::Update()
 {
+    m_hover_button = NULL;
+
     wxSizer* sizer;
     int i, pane_count = m_panes.GetCount();