better Sun CC fix: put the function in anonymous namespace instead of making it global
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -548,6 +548,9 @@ int wxDoSnprintfUtf8(wchar_t *str, size_t size, const char *format, ...) | ||||
|  | ||||
| #if wxUSE_UNICODE | ||||
|  | ||||
| namespace | ||||
| { | ||||
|  | ||||
| #if !wxUSE_UTF8_LOCALE_ONLY | ||||
| int wxInternalConvertStringToBuf(const wxString& s, char *out, size_t outsize) | ||||
| { | ||||
| @@ -573,6 +576,8 @@ int wxInternalConvertStringToBuf(const wxString& s, wchar_t *out, size_t outsize | ||||
| } | ||||
| #endif // wxUSE_UNICODE_UTF8 | ||||
|  | ||||
| } // anonymous namespace | ||||
|  | ||||
| template<typename T> | ||||
| static size_t PrintfViaString(T *out, size_t outsize, | ||||
|                               const wxString& format, va_list argptr) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user