]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontdlg.h
Improve print preview appearance and functionality.
[wxWidgets.git] / include / wx / fontdlg.h
index 2d845d5e3ab58e78c6605d34e33461c182043916..831d92409b81cfeb83dd93cee1e206255d1ce481 100644 (file)
@@ -58,7 +58,7 @@ protected:
 
     wxFontData m_fontData;
 
 
     wxFontData m_fontData;
 
-    DECLARE_NO_COPY_CLASS(wxFontDialogBase)
+    wxDECLARE_NO_COPY_CLASS(wxFontDialogBase);
 };
 
 #if WXWIN_COMPATIBILITY_2_6
 };
 
 #if WXWIN_COMPATIBILITY_2_6
@@ -108,7 +108,7 @@ inline bool wxFontDialogBase::Create(wxWindow *parent, const wxFontData *data)
 
 // get the font from user and return it, returns wxNullFont if the dialog was
 // cancelled
 
 // get the font from user and return it, returns wxNullFont if the dialog was
 // cancelled
-WXDLLIMPEXP_CORE wxFont wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL,
+WXDLLIMPEXP_CORE wxFont wxGetFontFromUser(wxWindow *parent = NULL,
                                           const wxFont& fontInit = wxNullFont,
                                           const wxString& caption = wxEmptyString);
 
                                           const wxFont& fontInit = wxNullFont,
                                           const wxString& caption = wxEmptyString);