From b7fa390b648b79c09e73633b6bcf877fdd22d699 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 12 Jun 2001 20:13:45 +0000 Subject: [PATCH] removed warning about unused variable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/samples/gizmos/splittree/tree.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/samples/gizmos/splittree/tree.cpp b/contrib/samples/gizmos/splittree/tree.cpp index a060a5f887..2a776cc8c2 100644 --- a/contrib/samples/gizmos/splittree/tree.cpp +++ b/contrib/samples/gizmos/splittree/tree.cpp @@ -217,7 +217,7 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { wxString msg; - msg.Printf( _T("This is the about dialog of tree sample.\n") + msg.Printf( _T("This is the about dialog of splittree sample.\n") _T("Welcome to %s"), wxVERSION_STRING); wxMessageBox(msg, "About Tree Test", wxOK | wxICON_INFORMATION, this); @@ -282,8 +282,6 @@ void TestTree::OnPaint(wxPaintEvent& event) // Reset the device origin since it may have been set dc.SetDeviceOrigin(0, 0); - wxSize sz = GetClientSize(); - wxPen pen(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DLIGHT), 1, wxSOLID); dc.SetPen(pen); dc.SetBrush(* wxTRANSPARENT_BRUSH); -- 2.45.2