- // the same as a function (returns TRUE on success)
- bool Init(const wxChar *szName,
- const wxChar *szShort = (const wxChar *) NULL,
- const wxChar *szLocale = (const wxChar *) NULL,
- bool bLoadDefault = TRUE,
- bool bConvertEncoding = FALSE);
+ Init(language, flags);
+ }
+
+ // the same as a function (returns true on success)
+ bool Init(const wxString& name,
+ const wxString& shortName = wxEmptyString,
+ const wxString& locale = wxEmptyString,
+ bool bLoadDefault = true,
+ bool bConvertEncoding = false);