wxToolBarSimple fix + OGL studio sample compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -965,7 +965,7 @@ void csCanvas::OnDragLeft(bool draw, double x, double y, int keys)
|
||||
wxClientDC dc(this);
|
||||
PrepareDC(dc);
|
||||
|
||||
dc.SetLogicalFunction(wxXOR);
|
||||
dc.SetLogicalFunction(OGLRBLF);
|
||||
DrawOutline(dc, sg_initialX, sg_initialY, x, y);
|
||||
}
|
||||
|
||||
@@ -977,7 +977,7 @@ void csCanvas::OnBeginDragLeft(double x, double y, int keys)
|
||||
wxClientDC dc(this);
|
||||
PrepareDC(dc);
|
||||
|
||||
dc.SetLogicalFunction(wxXOR);
|
||||
dc.SetLogicalFunction(OGLRBLF);
|
||||
DrawOutline(dc, sg_initialX, sg_initialY, x, y);
|
||||
CaptureMouse();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user