Remove unused variable from the font sample
No real changes.
This commit is contained in:
@@ -149,8 +149,6 @@ protected:
|
|||||||
// wxFONTFAMILY_DEFAULT if the dialog was cancelled
|
// wxFONTFAMILY_DEFAULT if the dialog was cancelled
|
||||||
wxFontFamily GetFamilyFromUser();
|
wxFontFamily GetFamilyFromUser();
|
||||||
|
|
||||||
size_t m_fontSize; // in points
|
|
||||||
|
|
||||||
wxTextCtrl *m_textctrl;
|
wxTextCtrl *m_textctrl;
|
||||||
MyCanvas *m_canvas;
|
MyCanvas *m_canvas;
|
||||||
|
|
||||||
@@ -315,8 +313,6 @@ bool MyApp::OnInit()
|
|||||||
MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
||||||
: wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size), m_textctrl(NULL)
|
: wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size), m_textctrl(NULL)
|
||||||
{
|
{
|
||||||
m_fontSize = wxNORMAL_FONT->GetPointSize();
|
|
||||||
|
|
||||||
SetIcon(wxICON(sample));
|
SetIcon(wxICON(sample));
|
||||||
|
|
||||||
// create a menu bar
|
// create a menu bar
|
||||||
|
Reference in New Issue
Block a user