X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2e9bc18a899b69d88cd5224d0ff5b72fe72cab2..cba5a276e4821a0ae7d1e7a435d6aab38baa0a9f:/include/wx/html/htmprint.h diff --git a/include/wx/html/htmprint.h b/include/wx/html/htmprint.h index a68eb03f2f..79f3528bb9 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 @@ -74,6 +74,8 @@ private: wxFileSystem *m_FS; wxHtmlContainerCell *m_Cells; int m_MaxWidth, m_Width, m_Height; + + DECLARE_NO_COPY_CLASS(wxHtmlDCRenderer) }; @@ -98,7 +100,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); @@ -155,6 +157,8 @@ private: int m_HeaderHeight, m_FooterHeight; wxHtmlDCRenderer *m_Renderer, *m_RendererHdr; float m_MarginTop, m_MarginBottom, m_MarginLeft, m_MarginRight, m_MarginSpace; + + DECLARE_NO_COPY_CLASS(wxHtmlPrintout) }; @@ -176,7 +180,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); @@ -219,6 +223,8 @@ private: wxString m_Name; wxString m_Headers[2], m_Footers[2]; wxFrame *m_Frame; + + DECLARE_NO_COPY_CLASS(wxHtmlEasyPrinting) };