VC6 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -117,7 +117,7 @@ void wxMessageOutputBest::Output(const wxString& str)
|
||||
else
|
||||
#endif // __WINDOWS__/!__WINDOWS__
|
||||
{
|
||||
const wxWX2MBbuf buf(str.mb_str());
|
||||
const wxWX2MBbuf buf = str.mb_str();
|
||||
|
||||
if ( buf )
|
||||
fprintf(stderr, "%s", (const char*) buf);
|
||||
@@ -132,7 +132,7 @@ void wxMessageOutputBest::Output(const wxString& str)
|
||||
|
||||
void wxMessageOutputStderr::Output(const wxString& str)
|
||||
{
|
||||
const wxWX2MBbuf buf(str.mb_str());
|
||||
const wxWX2MBbuf buf = str.mb_str();
|
||||
|
||||
if ( buf )
|
||||
fprintf(stderr, "%s", (const char*) buf);
|
||||
|
Reference in New Issue
Block a user