size_t val = va_arg(argptr, size_t);
::sprintf(szScratch, s_szFlags, val);
}
-
- APPEND_STR(wxConvLibc.cMB2WX(szScratch));
+ {
+ const wxMB2WXbuf tmp =
+ wxConvLibc.cMB2WX(szScratch);
+ APPEND_STR(tmp);
+ }
done = TRUE;
break;
double val = va_arg(argptr, double);
::sprintf(szScratch, s_szFlags, val);
}
-
- APPEND_STR(wxConvLibc.cMB2WX(szScratch));
+ {
+ const wxMB2WXbuf tmp =
+ wxConvLibc.cMB2WX(szScratch);
+ APPEND_STR(tmp);
+ }
done = TRUE;
break;
s_szFlags[flagofs] = '\0';
::sprintf(szScratch, s_szFlags, val);
- APPEND_STR(wxConvLibc.cMB2WX(szScratch));
+ const wxMB2WXbuf tmp =
+ wxConvLibc.cMB2WX(szScratch);
+ APPEND_STR(tmp);
done = TRUE;
}