I create two wxConfig objects : a global and a local :
Code: Select all
SetAppName("MyApp");
SetVendorName("Me");
m_pConfig = new wxConfig(wxEmptyString, wxEmptyString, wxEmptyString, wxEmptyString, wxCONFIG_USE_LOCAL_FILE);
m_pConfigGlobal = new wxConfig(wxEmptyString, wxEmptyString, wxEmptyString, wxEmptyString, wxCONFIG_USE_GLOBAL_FILE);
Code: Select all
m_pConfig->Write("test", "user");
m_pConfigGlobal->Write("test", "global");
Is it a bug ?
Thx