Fix "warning: operation on 'y' may be undefined".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2005-06-14 19:57:01 +00:00
parent c7ca49e407
commit 25b3661bd4

View File

@@ -3423,11 +3423,13 @@ void cbDockPane::DrawHorizHandle( wxDC& dc, int x, int y, int width )
dc.DrawLine( x,y, right, y );
}
++y;
dc.SetPen( mpLayout->mDarkPen );
dc.DrawLine( x,y, right, ++y );
dc.DrawLine( x,y, right, y );
++y;
dc.SetPen( mpLayout->mBlackPen );
dc.DrawLine( x,y, right, ++y );
dc.DrawLine( x,y, right, y );
}
cbBarInfo* cbDockPane::GetBarInfoByWindow( wxWindow* pBarWnd )