removed a wxPaintDC::Clear() fatal to wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-04-28 13:28:08 +00:00
parent e969b63b5e
commit 82cf15a4d4

View File

@@ -1024,7 +1024,7 @@ void DnDFrame::OnPaint(wxPaintEvent& WXUNUSED(event))
GetClientSize( &w, &h );
wxPaintDC dc(this);
dc.Clear();
// dc.Clear(); -- this kills wxGTK
dc.SetFont( wxFont( 24, wxDECORATIVE, wxNORMAL, wxNORMAL, FALSE, "charter" ) );
dc.DrawText( "Drag text from here!", 100, h-50 );
}