X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9749497156909657d17ef972857caaca4bd09da2..0b165ed6b209ea9f5ddd7bfb1813c6f0718a9a3d:/include/wx/html/winpars.h diff --git a/include/wx/html/winpars.h b/include/wx/html/winpars.h index fee91731c2..1b6b02a6d6 100644 --- a/include/wx/html/winpars.h +++ b/include/wx/html/winpars.h @@ -123,11 +123,13 @@ public: virtual wxFont* CreateCurrentFont(); protected: - virtual void AddText(const char *txt); + virtual void AddText(const wxChar* txt); private: bool m_tmpLastWasSpace; - // temporary variable used by AddText + wxChar *m_tmpStrBuf; + size_t m_tmpStrBufSize; + // temporary variables used by AddText wxWindow *m_Window; // window we're parsing for double m_PixelScale;