background drawing uncommented again

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2004-03-28 17:57:03 +00:00
parent bd3169a752
commit 4b5386874a

View File

@ -1709,15 +1709,12 @@ void wxWindowMac::WarpPointer (int x_pos, int y_pos)
void wxWindowMac::OnEraseBackground(wxEraseEvent& event) void wxWindowMac::OnEraseBackground(wxEraseEvent& event)
{ {
event.Skip() ;
/*
if ( m_macBackgroundBrush.Ok() == false || m_macBackgroundBrush.GetStyle() == wxTRANSPARENT ) if ( m_macBackgroundBrush.Ok() == false || m_macBackgroundBrush.GetStyle() == wxTRANSPARENT )
{ {
event.Skip() ; event.Skip() ;
} }
else else
event.GetDC()->Clear() ; event.GetDC()->Clear() ;
*/
} }
void wxWindowMac::OnNcPaint( wxNcPaintEvent& event ) void wxWindowMac::OnNcPaint( wxNcPaintEvent& event )