X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a704c2b398dfb40e5bb294858e14ec3cc6a2f39..1bc3fa018039382d373a265f88750f90a10f3623:/utils/framelayout/src/dyntbar.cpp 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 )