- familyChoice = (wxChoice*) FindWindow(wxID_FONT_FAMILY);
- styleChoice = (wxChoice*) FindWindow(wxID_FONT_STYLE);
- weightChoice = (wxChoice*) FindWindow(wxID_FONT_WEIGHT);
- colourChoice = (wxChoice*) FindWindow(wxID_FONT_COLOUR);
- underLineCheckBox = (wxCheckBox*) FindWindow(wxID_FONT_UNDERLINE);
-
- familyChoice->SetStringSelection( wxFontFamilyIntToString(dialogFont.GetFamily()) );
- styleChoice->SetStringSelection(wxFontStyleIntToString(dialogFont.GetStyle()));
- weightChoice->SetStringSelection(wxFontWeightIntToString(dialogFont.GetWeight()));
-
- if (colourChoice)
+ m_familyChoice = (wxChoice*) FindWindow(wxID_FONT_FAMILY);
+ m_styleChoice = (wxChoice*) FindWindow(wxID_FONT_STYLE);
+ m_weightChoice = (wxChoice*) FindWindow(wxID_FONT_WEIGHT);
+ m_colourChoice = (wxChoice*) FindWindow(wxID_FONT_COLOUR);
+ m_underLineCheckBox = (wxCheckBox*) FindWindow(wxID_FONT_UNDERLINE);
+
+ m_familyChoice->SetStringSelection( wxFontFamilyIntToString(m_dialogFont.GetFamily()) );
+ m_styleChoice->SetStringSelection(wxFontStyleIntToString(m_dialogFont.GetStyle()));
+ m_weightChoice->SetStringSelection(wxFontWeightIntToString(m_dialogFont.GetWeight()));
+
+ if (m_colourChoice)