m_owner = (wxWindow *)NULL;
m_isMemDC = FALSE;
- wxASSERT_MSG( window, "DC needs a window" );
+ wxASSERT_MSG( window, _T("DC needs a window") );
GtkWidget *widget = window->m_wxwindow;
- wxASSERT_MSG( widget, "DC needs a widget" );
+ wxASSERT_MSG( widget, _T("DC needs a widget") );
m_window = widget->window;
#endif
default:
{
- wxFAIL_MSG( "unsupported logical function" );
+ wxFAIL_MSG( _T("unsupported logical function") );
break;
}
}
m_brush = wxNullBrush;
SetBrush( tmp_brush );
+/*
tmp_brush = m_backgroundBrush;
m_backgroundBrush = wxNullBrush;
SetBackground( tmp_brush );
+*/
+ tmp_brush = m_backgroundBrush;
+ m_backgroundBrush = wxNullBrush;
+ SetBackground( *wxWHITE_BRUSH );
+ m_backgroundBrush = tmp_brush;
if (!hatch_bitmap)
{