From ad9ef5f24d36d64e21d03d79a264c1a5bbdc1ab1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 9 Sep 2018 01:57:27 +0200 Subject: [PATCH] Remove unused variable from the font sample No real changes. --- samples/font/font.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/samples/font/font.cpp b/samples/font/font.cpp index 022c0a8c6d..85388eee57 100644 --- a/samples/font/font.cpp +++ b/samples/font/font.cpp @@ -149,8 +149,6 @@ protected: // wxFONTFAMILY_DEFAULT if the dialog was cancelled wxFontFamily GetFamilyFromUser(); - size_t m_fontSize; // in points - wxTextCtrl *m_textctrl; MyCanvas *m_canvas; @@ -315,8 +313,6 @@ bool MyApp::OnInit() MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) : wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size), m_textctrl(NULL) { - m_fontSize = wxNORMAL_FONT->GetPointSize(); - SetIcon(wxICON(sample)); // create a menu bar