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:
@@ -3423,11 +3423,13 @@ void cbDockPane::DrawHorizHandle( wxDC& dc, int x, int y, int width )
|
|||||||
dc.DrawLine( x,y, right, y );
|
dc.DrawLine( x,y, right, y );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
++y;
|
||||||
dc.SetPen( mpLayout->mDarkPen );
|
dc.SetPen( mpLayout->mDarkPen );
|
||||||
dc.DrawLine( x,y, right, ++y );
|
dc.DrawLine( x,y, right, y );
|
||||||
|
|
||||||
|
++y;
|
||||||
dc.SetPen( mpLayout->mBlackPen );
|
dc.SetPen( mpLayout->mBlackPen );
|
||||||
dc.DrawLine( x,y, right, ++y );
|
dc.DrawLine( x,y, right, y );
|
||||||
}
|
}
|
||||||
|
|
||||||
cbBarInfo* cbDockPane::GetBarInfoByWindow( wxWindow* pBarWnd )
|
cbBarInfo* cbDockPane::GetBarInfoByWindow( wxWindow* pBarWnd )
|
||||||
|
Reference in New Issue
Block a user