diff --git a/samples/dnd/dnd.cpp b/samples/dnd/dnd.cpp index 7788cfdc7d..5815dd45ab 100644 --- a/samples/dnd/dnd.cpp +++ b/samples/dnd/dnd.cpp @@ -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 ); }