X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66bd6b93005b803910caca469110495ce549599f..721b32e05823b7b7356f9a7a99f7d0af457dc5f3:/include/wx/generic/fontdlgg.h diff --git a/include/wx/generic/fontdlgg.h b/include/wx/generic/fontdlgg.h index bd997e45e3..ade8d40404 100644 --- a/include/wx/generic/fontdlgg.h +++ b/include/wx/generic/fontdlgg.h @@ -46,7 +46,7 @@ class WXDLLEXPORT wxGenericFontDialog: public wxDialog wxWindow *dialogParent; // Area reserved for font display - wxRectangle fontRect; + wxRect fontRect; wxChoice *familyChoice; wxChoice *styleChoice; @@ -60,10 +60,10 @@ class WXDLLEXPORT wxGenericFontDialog: public wxDialog 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); @@ -72,7 +72,7 @@ class WXDLLEXPORT wxGenericFontDialog: public wxDialog // Internal functions void OnPaint(wxPaintEvent& event); - bool OnClose(void); + void OnCloseWindow(wxCloseEvent& event); virtual void CreateWidgets(void); virtual void InitializeFont(void); @@ -85,9 +85,9 @@ class WXDLLEXPORT wxGenericFontDialog: public wxDialog 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);