oops, compilation error - fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2000-03-17 13:59:54 +00:00
parent 2d8a5cb1da
commit a18db02249

View File

@ -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