#ifndef _WX_HTMPRINT_H_
#define _WX_HTMPRINT_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "htmprint.h"
#endif
-#include <wx/defs.h>
+#include "wx/defs.h"
#if wxUSE_HTML & wxUSE_PRINTING_ARCHITECTURE
wxFileSystem *m_FS;
wxHtmlContainerCell *m_Cells;
int m_MaxWidth, m_Width, m_Height;
+
+ DECLARE_NO_COPY_CLASS(wxHtmlDCRenderer)
};
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);
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)
};
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);
wxString m_Name;
wxString m_Headers[2], m_Footers[2];
wxFrame *m_Frame;
+
+ DECLARE_NO_COPY_CLASS(wxHtmlEasyPrinting)
};