]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for --enable-utf8 --disable-utf8only case
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 4 May 2007 11:10:06 +0000 (11:10 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 4 May 2007 11:10:06 +0000 (11:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/strvararg.h

index 729b41069b31f09bead2b251d4bd6c8e7d9f7bec..05460711d76568e5fc848c5c459990aca09a7ecd 100644 (file)
@@ -142,6 +142,7 @@ private:
 #endif // !wxUSE_UNICODE_WCHAR
 
 #if wxUSE_UNICODE && !wxUSE_UTF8_LOCALE_ONLY
+public:
     operator const wchar_t*() const
         { return wx_const_cast(wxFormatString*, this)->AsWChar(); }
 private: