X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a704c2b398dfb40e5bb294858e14ec3cc6a2f39..ff1865910312d960737474a75a77737d5ce94864:/utils/framelayout/src/dyntbar.cpp?ds=inline diff --git a/utils/framelayout/src/dyntbar.cpp b/utils/framelayout/src/dyntbar.cpp index a4bce48b0c..a5019a86c7 100644 --- a/utils/framelayout/src/dyntbar.cpp +++ b/utils/framelayout/src/dyntbar.cpp @@ -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 )