Applied FL patch from Stefan Kowski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -591,10 +591,14 @@ void cbPaneDrawPlugin::OnSizeBarWindow( cbSizeBarWndEvent& event )
|
||||
|
||||
// FIXME:: +/- 1s
|
||||
|
||||
int nNewHeight = bounds.height - 2 - bar.mDimInfo.mVertGap *2;
|
||||
if(nNewHeight < 0)
|
||||
nNewHeight = 0;
|
||||
|
||||
bar.mpBarWnd->wxWindow::SetSize( bounds.x + 1 + bar.mDimInfo.mHorizGap,
|
||||
bounds.y + 1 + bar.mDimInfo.mVertGap,
|
||||
bounds.width - 2 - bar.mDimInfo.mHorizGap*2,
|
||||
bounds.height - 2 - bar.mDimInfo.mVertGap *2 ,
|
||||
nNewHeight,
|
||||
0
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user