mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-30 07:29:29 +02: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:
parent
ea1b2149e4
commit
e47e9692b6
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user