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:
parent
2d8a5cb1da
commit
a18db02249
@ -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)
|
if (m_brush.GetStyle() == wxSTIPPLE_MASK_OPAQUE)
|
||||||
{
|
{
|
||||||
oldFgOld = ::GetTextColor(GetHdc());
|
colFgOld = ::GetTextColor(GetHdc());
|
||||||
oldBgOld = ::GetBkColor(GetHdc());
|
colBgOld = ::GetBkColor(GetHdc());
|
||||||
|
|
||||||
if (m_textForegroundColour.Ok())
|
if (m_textForegroundColour.Ok())
|
||||||
{ //just the oposite from what is expected see help on pattern brush
|
{ //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)
|
if (m_brush.GetStyle() == wxSTIPPLE_MASK_OPAQUE)
|
||||||
{
|
{
|
||||||
oldFgOld = ::GetTextColor(GetHdc());
|
colFgOld = ::GetTextColor(GetHdc());
|
||||||
oldBgOld = ::GetBkColor(GetHdc());
|
colBgOld = ::GetBkColor(GetHdc());
|
||||||
|
|
||||||
if (m_textForegroundColour.Ok())
|
if (m_textForegroundColour.Ok())
|
||||||
{ //just the oposite from what is expected see help on pattern brush
|
{ //just the oposite from what is expected see help on pattern brush
|
||||||
|
Loading…
Reference in New Issue
Block a user