From: Vadim Zeitlin Date: Fri, 17 Mar 2000 13:59:54 +0000 (+0000) Subject: oops, compilation error - fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a18db02249993e329bd0124b669b77b59100578a oops, compilation error - fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index eb99455e64..b9a942c87f 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -377,8 +377,8 @@ void wxDC::DoDrawArc(wxCoord x1,wxCoord y1,wxCoord x2,wxCoord y2, wxCoord xc, wx if (m_brush.GetStyle() == wxSTIPPLE_MASK_OPAQUE) { - oldFgOld = ::GetTextColor(GetHdc()); - oldBgOld = ::GetBkColor(GetHdc()); + colFgOld = ::GetTextColor(GetHdc()); + colBgOld = ::GetBkColor(GetHdc()); if (m_textForegroundColour.Ok()) { //just the oposite from what is expected see help on pattern brush @@ -500,8 +500,8 @@ void wxDC::DoDrawPolygon(int n, wxPoint points[], wxCoord xoffset, wxCoord yoffs if (m_brush.GetStyle() == wxSTIPPLE_MASK_OPAQUE) { - oldFgOld = ::GetTextColor(GetHdc()); - oldBgOld = ::GetBkColor(GetHdc()); + colFgOld = ::GetTextColor(GetHdc()); + colBgOld = ::GetBkColor(GetHdc()); if (m_textForegroundColour.Ok()) { //just the oposite from what is expected see help on pattern brush