]> git.saurik.com Git - wxWidgets.git/commitdiff
removed warning about unused variable
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jun 2001 20:13:45 +0000 (20:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jun 2001 20:13:45 +0000 (20:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/samples/gizmos/splittree/tree.cpp

index a060a5f8878cc7d15a8d7f7f2547df4e01e38a69..2a776cc8c280250afdf797d7f25a7996313a44b4 100644 (file)
@@ -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);