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