use wxString argument and not wxChar* in wxHtmlParser::AddText(), for compatibility with STL build without implicit wxString conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,7 +60,7 @@ Changes in behaviour which may result in compilation errors
|
||||
wxLogError(_("error: %s"), !err.empty() ? (const wxChar*)err.c_str() : "")
|
||||
|
||||
- wxCtime() and wxAsctime() return char*; this is incompatible with Unicode
|
||||
build in wxWidgets 2.8 that returned wchar_t*.
|
||||
build in wxWidgets 2.8 that returned wchar_t*.
|
||||
|
||||
- DigitalMars compiler has a bug that prevents it from using
|
||||
wxUniChar::operator bool in conditions and it erroneously reports type
|
||||
@@ -69,6 +69,8 @@ Changes in behaviour which may result in compilation errors
|
||||
This can be worked around by explicitly casting to bool:
|
||||
for ( wxString::const_iterator p = s.begin(); (bool)*p; ++p )
|
||||
|
||||
- virtual wxHtmlParser::AddText() takes wxString, not wxChar*, argument now.
|
||||
|
||||
Deprecated methods and their replacements
|
||||
-----------------------------------------
|
||||
|
||||
|
@@ -74,7 +74,7 @@ All handlers are deleted on object deletion.
|
||||
|
||||
\membersection{wxHtmlParser::AddText}\label{wxhtmlparseraddword}
|
||||
|
||||
\func{virtual void}{AddWord}{\param{const char* }{txt}}
|
||||
\func{virtual void}{AddWord}{\param{const wxString\& }{txt}}
|
||||
|
||||
Must be overwritten in derived class.
|
||||
|
||||
|
Reference in New Issue
Block a user