// 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
);
event.mArea.width, event.mArea.height );
}
-void cbPaneDrawPlugin::OnFinishDrawInArea( cbFinishDrawInAreaEvent& event )
+void cbPaneDrawPlugin::OnFinishDrawInArea( cbFinishDrawInAreaEvent& WXUNUSED(event) )
{
// DBG::
wxASSERT( mpClntDc );