Lines Matching defs:pConfig
101 wxConfigBase *pConfig = wxConfigBase::Get();
106 pConfig->SetRecordDefaults();
109 // wxFileConfig *pConfig = new wxFileConfig("conftest");
110 // wxConfigBase::Set(pConfig);
121 if ( pConfig->Read(_T("/Controls/Check"), 1l) != 0 ) {
181 wxConfigBase *pConfig = wxConfigBase::Get();
184 pConfig->SetPath(_T("/Controls"));
186 m_text->SetValue(pConfig->Read(_T("Text"), _T("")));
187 m_check->SetValue(pConfig->Read(_T("Check"), 1l) != 0);
190 pConfig->SetPath(_T("../MainFrame"));
193 int x = pConfig->Read(_T("x"), 50),
194 y = pConfig->Read(_T("y"), 50),
195 w = pConfig->Read(_T("w"), 350),
196 h = pConfig->Read(_T("h"), 200);
200 pConfig->SetPath(_T("/"));
202 if ( pConfig->Read(_T("TestValue"), &s) )
225 wxConfigBase *pConfig = wxConfigBase::Get();
226 if ( pConfig == NULL )
232 if ( pConfig->DeleteAll() )
247 wxConfigBase *pConfig = wxConfigBase::Get();
248 if ( pConfig == NULL )
252 pConfig->Write(_T("/Controls/Text"), m_text->GetValue());
253 pConfig->Write(_T("/Controls/Check"), m_check->GetValue());
259 pConfig->Write(_T("/MainFrame/x"), (long) x);
260 pConfig->Write(_T("/MainFrame/y"), (long) y);
261 pConfig->Write(_T("/MainFrame/w"), (long) w);
262 pConfig->Write(_T("/MainFrame/h"), (long) h);
264 pConfig->Write(_T("/TestValue"), wxT("A test value"));