- DECLARE_DYNAMIC_CLASS(wxFontDialog)
- protected:
- wxWindow *dialogParent;
- wxFontData fontData;
- public:
- wxFontDialog(void);
- wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
-
- bool Create(wxWindow *parent, wxFontData *data = NULL);
-
- int ShowModal(void);
- wxFontData& GetFontData(void) { return fontData; }
+public:
+ wxFontDialog();
+ wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
+
+ bool Create(wxWindow *parent, wxFontData *data = NULL);
+
+ virtual int ShowModal();
+
+ wxFontData& GetFontData() { return m_fontData; }
+
+protected:
+ wxFontData m_fontData;
+
+ DECLARE_DYNAMIC_CLASS(wxFontDialog)