- const char *szShort = NULL, // dir prefix (for msg files)
- const char *szLocale = NULL, // locale (for setlocale)
- bool bLoadDefault = TRUE); // preload wxstd.mo?
+ const char *szShort = (const char *) NULL, // dir prefix (for msg files)
+ const char *szLocale = (const char *) NULL, // locale (for setlocale)
+ bool bLoadDefault = TRUE) // preload wxstd.mo?
+ { Init(szName, szShort, szLocale, bLoadDefault); }
+ // the same as a function (returns TRUE on success)
+ bool Init(const char *szName,
+ const char *szShort = (const char *) NULL,
+ const char *szLocale = (const char *) NULL,
+ bool bLoadDefault = TRUE);