X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c62a62bf732e57dfb39f303f61d92bcc6b404f0..acf8e3d29e897ade2087e3d9048e5c448823d391:/include/wx/html/htmltag.h diff --git a/include/wx/html/htmltag.h b/include/wx/html/htmltag.h index 981f2374e5..42927905cb 100644 --- a/include/wx/html/htmltag.h +++ b/include/wx/html/htmltag.h @@ -11,7 +11,7 @@ #ifndef _WX_HTMLTAG_H_ #define _WX_HTMLTAG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "htmltag.h" #endif @@ -47,6 +47,8 @@ public: // Finds parameters for tag starting at at and fills the variables void QueryTag(int at, int* end1, int* end2); + + DECLARE_NO_COPY_CLASS(wxHtmlTagsCache) }; @@ -107,7 +109,7 @@ public: // (like sscanf() does) // NOTE: unlike scanf family, this function only accepts // *one* parameter ! - int ScanParam(const wxString& par, wxChar *format, void *param) const; + int ScanParam(const wxString& par, const wxChar *format, void *param) const; // Returns string containing all params. wxString GetAllParams() const; @@ -142,6 +144,8 @@ private: wxHtmlTag *m_Prev; wxHtmlTag *m_FirstChild, *m_LastChild; wxHtmlTag *m_Parent; + + DECLARE_NO_COPY_CLASS(wxHtmlTag) };