wxWindow *dialogParent;
// Area reserved for font display
- wxRectangle fontRect;
+ wxRect fontRect;
wxChoice *familyChoice;
wxChoice *styleChoice;
public:
wxGenericFontDialog(void);
- wxGenericFontDialog(wxWindow *parent, wxFontData *data = NULL);
+ wxGenericFontDialog(wxWindow *parent, wxFontData *data = (wxFontData *) NULL);
~wxGenericFontDialog(void);
- bool Create(wxWindow *parent, wxFontData *data = NULL);
+ bool Create(wxWindow *parent, wxFontData *data = (wxFontData *) NULL);
int ShowModal(void);
// Internal functions
void OnPaint(wxPaintEvent& event);
- bool OnClose(void);
+ void OnCloseWindow(wxCloseEvent& event);
virtual void CreateWidgets(void);
virtual void InitializeFont(void);
DECLARE_EVENT_TABLE()
};
-char* WXDLLEXPORT wxFontFamilyIntToString(int family);
-char* WXDLLEXPORT wxFontWeightIntToString(int weight);
-char* WXDLLEXPORT wxFontStyleIntToString(int style);
+char WXDLLEXPORT *wxFontFamilyIntToString(int family);
+char WXDLLEXPORT *wxFontWeightIntToString(int weight);
+char WXDLLEXPORT *wxFontStyleIntToString(int style);
int WXDLLEXPORT wxFontFamilyStringToInt(char *family);
int WXDLLEXPORT wxFontWeightStringToInt(char *weight);
int WXDLLEXPORT wxFontStyleStringToInt(char *style);