]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
Make the main message of wxGenericMessageDialog stand out.
[wxWidgets.git] / src / common / intl.cpp
index cffa1cd034f8304b37c14a8f31d4e07e99fce198..4e8542a1c4008bd7cca50c9bf44680aae6c4f931 100644 (file)
@@ -200,8 +200,7 @@ wxLanguageInfoArray *wxLocale::ms_languagesDB = NULL;
 
 /*static*/ void wxLocale::DestroyLanguagesDB()
 {
-    delete ms_languagesDB;
-    ms_languagesDB = NULL;
+    wxDELETE(ms_languagesDB);
 }
 
 
@@ -239,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
                     )
 {