]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/framelayout/src/dyntbar.cpp
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / utils / framelayout / src / dyntbar.cpp
index a4bce48b0cb87ac99b5ddddf374b615af7f88336..a5019a86c7905f6b67633e32b0c2018c2645fdfa 100644 (file)
@@ -342,7 +342,7 @@ void wxDynamicToolBar::SizeToolWindows()
        }
 }
 
-void wxDynamicToolBar::Layout()
+bool wxDynamicToolBar::Layout()
 {
        if ( !mpLayoutMan ) mpLayoutMan = CreateDefaulLayout();
 
@@ -359,6 +359,7 @@ void wxDynamicToolBar::Layout()
        mpLayoutMan->Layout( wndDim, result, items, mVertGap, mHorizGap );;
 
        SizeToolWindows();
+    return TRUE;
 }
 
 void wxDynamicToolBar::GetPreferredDim( const wxSize& givenDim, wxSize& prefDim )