]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/winpars.h
fixed off by one error in wxXPMDecoder::ReadFile
[wxWidgets.git] / include / wx / html / winpars.h
index fee91731c254ac9217c9894699351a9db956db6c..1b6b02a6d67ec1d2e3b6679e6918353528ac82d7 100644 (file)
@@ -123,11 +123,13 @@ public:
     virtual wxFont* CreateCurrentFont();
 
 protected:
     virtual wxFont* CreateCurrentFont();
 
 protected:
-    virtual void AddText(const char *txt);
+    virtual void AddText(const wxChar* txt);
 
 private:
     bool m_tmpLastWasSpace;
 
 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;
     wxWindow *m_Window;
             // window we're parsing for
     double m_PixelScale;