new layout was messing with separator positions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
30f1ed9e44
commit
5a904a32e6
@ -99,8 +99,10 @@ public:
|
|||||||
{
|
{
|
||||||
// separator size
|
// separator size
|
||||||
wxSize sz = GetToolBar()->GetToolSize() ;
|
wxSize sz = GetToolBar()->GetToolSize() ;
|
||||||
sz.x /= 4 ;
|
if ( GetToolBar()->GetWindowStyleFlag() & wxTB_VERTICAL )
|
||||||
sz.y /= 4 ;
|
sz.y /= 4 ;
|
||||||
|
else
|
||||||
|
sz.x /= 4 ;
|
||||||
return sz ;
|
return sz ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user