identify the offending instruction, and here it is:
Code: Select all
#define wbxSTR_LOCALE_PATH wxT("locale")
#define wbxSTR_LOCALE_CAT wxT("dictionary")
wxLocale * locale ;
wxLanguage lang ;
lang = wxLANGUAGE_ITALIAN ;
locale = new wxLocale() ;
(void)locale->Init(lang, wxLOCALE_LOAD_DEFAULT) ; // <-- THIS ONE!
locale->AddCatalogLookupPathPrefix(wbxSTR_LOCALE_PATH) ;
bool loaded = locale->AddCatalog(wbxSTR_LOCALE_CAT) ;
if (!loaded)
{
...
}
other way to understand where is the error. Can anybody help me, please?
Dario de Judicibus