]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
Mention that resource forks are deprecated under Mac in wxCursor docs.
[wxWidgets.git] / src / common / intl.cpp
index 25152b4cb88383a1bdeaeaa352ef103c4e522c52..7499eb54479f0a80e6304fbf9e78a25d6bd9d1a0 100644 (file)
@@ -238,7 +238,7 @@ bool wxLocale::Init(const wxString& name,
                     const wxString& locale,
                     bool            bLoadDefault
 #if WXWIN_COMPATIBILITY_2_8
-                   ,bool            bConvertEncoding
+                   ,bool            WXUNUSED_UNLESS_DEBUG(bConvertEncoding)
 #endif
                     )
 {
@@ -1024,7 +1024,7 @@ wxLocale::~wxLocale()
     wxSetLocale(m_pOldLocale);
 
     wxSetlocale(LC_ALL, m_pszOldLocale);
-    free((wxChar *)m_pszOldLocale);     // const_cast
+    free(const_cast<char *>(m_pszOldLocale));
 }