From 7696081c90cb3e3a0e671996f1426c7b7d4a43ed Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 11 Jan 2014 14:25:21 +0000 Subject: [PATCH] Remove commented out line from the dnd sample. No real changes, just remove the unnecessary line and its outdated comment (wxPaintDC::Clear() can be called in wxGTK, it's just not useful). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/dnd/dnd.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/samples/dnd/dnd.cpp b/samples/dnd/dnd.cpp index e54fca8733..7068b1ab12 100644 --- a/samples/dnd/dnd.cpp +++ b/samples/dnd/dnd.cpp @@ -1084,7 +1084,6 @@ void DnDFrame::OnPaint(wxPaintEvent& WXUNUSED(event)) GetClientSize( &w, &h ); wxPaintDC dc(this); - // dc.Clear(); -- this kills wxGTK dc.SetFont( wxFont( 24, wxDECORATIVE, wxNORMAL, wxNORMAL, false, wxT("charter") ) ); dc.DrawText( wxT("Drag text from here!"), 100, h-50 ); }