X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9749497156909657d17ef972857caaca4bd09da2..94e2ed3b8db0220160c0b939782cd46914ec073a:/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;