mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-16 09:31:14 +01:00
I think this is the right way to printf a wxString. Hard to tell.
Everything else gives me weird warnings.
This commit is contained in:
@@ -158,7 +158,7 @@ void av_log_wx_callback(void* ptr, int level, const char* fmt, va_list vl)
|
||||
//will crash.
|
||||
//TODO:find some workaround for the log. perhaps use ODManager as a bridge. for now just print
|
||||
if(!wxThread::IsMain())
|
||||
printf("%s: %s\n",cpt.char_str(),printstring.char_str());
|
||||
printf("%s: %s\n",(char*)cpt.char_str(),(char*)printstring.char_str());
|
||||
else
|
||||
#endif
|
||||
wxLogMessage(wxT("%s: %s"),cpt.c_str(),printstring.c_str());
|
||||
|
||||
Reference in New Issue
Block a user