ensure that wxToolBar has one of wxTB_TOP/LEFT/RIGHT/BOTTOM styles set, otherwise the latest toolbar positioning code breaks down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -792,6 +792,8 @@ bool wxToolBar::Create(
|
||||
if ( !wxToolBarBase::Create( parent, id, pos, size, style, wxDefaultValidator, name ) )
|
||||
return false;
|
||||
|
||||
FixupStyle();
|
||||
|
||||
OSStatus err = noErr;
|
||||
|
||||
#if wxMAC_USE_NATIVE_TOOLBAR
|
||||
|
Reference in New Issue
Block a user