X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1528e0b85fed193f8a4a25f20dcc36064bb71d2a..395367bcd303ad3b8fbf7d4f523f62d72ec7fa55:/include/wx/generic/dcpsg.h diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index 8a1f5dfa90..9e0af45f89 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -99,10 +99,14 @@ public: DoPsPrintfFormatWchar, DoPsPrintfFormatUtf8) #ifdef __WATCOMC__ // workaround for http://bugzilla.openwatcom.org/show_bug.cgi?id=351 - WX_DEFINE_VARARG_FUNC_VOID(PsPrintf, 1, (const char*), - DoPsPrintfFormatWchar, DoPsPrintfFormatUtf8) - WX_DEFINE_VARARG_FUNC_VOID(PsPrintf, 1, (const wchar_t*), - DoPsPrintfFormatWchar, DoPsPrintfFormatUtf8) + WX_VARARG_WATCOM_WORKAROUND(void, PsPrintf, 1, (const wxString&), + (wxFormatString(f1))); + WX_VARARG_WATCOM_WORKAROUND(void, PsPrintf, 1, (const wxCStrData&), + (wxFormatString(f1))); + WX_VARARG_WATCOM_WORKAROUND(void, PsPrintf, 1, (const char*), + (wxFormatString(f1))); + WX_VARARG_WATCOM_WORKAROUND(void, PsPrintf, 1, (const wchar_t*), + (wxFormatString(f1))); #endif void PsPrint( const wxString& psdata );