Page 1 of 1

Problems with wxLocale

Posted: Wed Jun 08, 2005 9:01 pm
by dejudicibus
I just moved from 2.5.2 to 2.6.0, but my application crashed. I tried to
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 ;

  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)
I cannot debug wxWidgets since size is too large for ilink32, so I have no
other way to understand where is the error. Can anybody help me, please?

Dario de Judicibus

Re: Problems with wxLocale

Posted: Wed Jun 08, 2005 11:24 pm
by Ryan Norton
Platform and compiler please