From: Václav Slavík Date: Fri, 16 Apr 2010 20:09:00 +0000 (+0000) Subject: Fix build breakage caused by bConvertEncoding deprecation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1be1262444ac19c0c7575e740d8f17b1540b3d42 Fix build breakage caused by bConvertEncoding deprecation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/intl.h b/include/wx/intl.h index 4ee062a2ec..a7b4dd133c 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -437,7 +437,11 @@ public: { DoCommonInit(); +#if WXWIN_COMPATIBILITY_2_8 Init(name, shortName, locale, bLoadDefault, bConvertEncoding); +#else + Init(name, shortName, locale, bLoadDefault); +#endif } wxLocale(int language, // wxLanguage id or custom language