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:
@@ -99,8 +99,10 @@ public:
|
||||
{
|
||||
// separator size
|
||||
wxSize sz = GetToolBar()->GetToolSize() ;
|
||||
sz.x /= 4 ;
|
||||
sz.y /= 4 ;
|
||||
if ( GetToolBar()->GetWindowStyleFlag() & wxTB_VERTICAL )
|
||||
sz.y /= 4 ;
|
||||
else
|
||||
sz.x /= 4 ;
|
||||
return sz ;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user