X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2e9bc18a899b69d88cd5224d0ff5b72fe72cab2..b74cce40fd1ddd4d1432ff668deee5ea89cd406c:/include/wx/html/htmprint.h diff --git a/include/wx/html/htmprint.h b/include/wx/html/htmprint.h index a68eb03f2f..713d1ef895 100644 --- a/include/wx/html/htmprint.h +++ b/include/wx/html/htmprint.h @@ -11,7 +11,7 @@ #ifndef _WX_HTMPRINT_H_ #define _WX_HTMPRINT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "htmprint.h" #endif @@ -98,7 +98,7 @@ enum { class WXDLLEXPORT wxHtmlPrintout : public wxPrintout { public: - wxHtmlPrintout(const wxString& title = "Printout"); + wxHtmlPrintout(const wxString& title = wxT("Printout")); ~wxHtmlPrintout(); void SetHtmlText(const wxString& html, const wxString &basepath = wxEmptyString, bool isdir = TRUE); @@ -176,7 +176,7 @@ private: class WXDLLEXPORT wxHtmlEasyPrinting : public wxObject { public: - wxHtmlEasyPrinting(const wxString& name = "Printing", wxFrame *parent_frame = NULL); + wxHtmlEasyPrinting(const wxString& name = wxT("Printing"), wxFrame *parent_frame = NULL); ~wxHtmlEasyPrinting(); bool PreviewFile(const wxString &htmlfile);