Don't send dummy wxCommandEvent. Make members private and use wxW coding standards for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -71,21 +71,26 @@ public:
|
||||
#endif
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
||||
virtual bool DoCreate(wxWindow *parent);
|
||||
|
||||
wxFont dialogFont;
|
||||
private:
|
||||
|
||||
wxChoice *familyChoice;
|
||||
wxChoice *styleChoice;
|
||||
wxChoice *weightChoice;
|
||||
wxChoice *colourChoice;
|
||||
wxCheckBox *underLineCheckBox;
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
||||
void DoChangeFont();
|
||||
|
||||
wxFont m_dialogFont;
|
||||
|
||||
wxChoice *m_familyChoice;
|
||||
wxChoice *m_styleChoice;
|
||||
wxChoice *m_weightChoice;
|
||||
wxChoice *m_colourChoice;
|
||||
wxCheckBox *m_underLineCheckBox;
|
||||
|
||||
#if !USE_SPINCTRL_FOR_POINT_SIZE
|
||||
wxChoice *pointSizeChoice;
|
||||
wxChoice *m_pointSizeChoice;
|
||||
#endif
|
||||
|
||||
wxFontPreviewer *m_previewer;
|
||||
|
Reference in New Issue
Block a user