From: Václav Slavík Date: Sat, 28 Mar 2009 12:32:06 +0000 (+0000) Subject: variadic macros need specializations for both wxCharBuffer and wxScopedCharBuffer... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5412c6ad1705f0388e4b4906cf61b7f8977ce3fa variadic macros need specializations for both wxCharBuffer and wxScopedCharBuffer (fixes #10651) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/strvararg.h b/include/wx/strvararg.h index 112d11827e..29b4ae041b 100644 --- a/include/wx/strvararg.h +++ b/include/wx/strvararg.h @@ -247,6 +247,14 @@ template<> struct wxFormatStringArgumentFinder : public wxFormatStringArgumentFinder {}; +template<> +struct wxFormatStringArgumentFinder + : public wxFormatStringArgumentFinder {}; + +template<> +struct wxFormatStringArgumentFinder + : public wxFormatStringArgumentFinder {}; + // ---------------------------------------------------------------------------- // wxArgNormalizer* converters @@ -489,6 +497,10 @@ WX_ARG_NORMALIZER_FORWARD(wxScopedCharBuffer, const char*); WX_ARG_NORMALIZER_FORWARD(const wxScopedCharBuffer&, const char*); WX_ARG_NORMALIZER_FORWARD(wxScopedWCharBuffer, const wchar_t*); WX_ARG_NORMALIZER_FORWARD(const wxScopedWCharBuffer&, const wchar_t*); +WX_ARG_NORMALIZER_FORWARD(wxCharBuffer, const char*); +WX_ARG_NORMALIZER_FORWARD(const wxCharBuffer&, const char*); +WX_ARG_NORMALIZER_FORWARD(wxWCharBuffer, const wchar_t*); +WX_ARG_NORMALIZER_FORWARD(const wxWCharBuffer&, const wchar_t*); // versions for std::[w]string: #if wxUSE_STD_STRING