| 394 | } |
| 395 | |
| 396 | lString16 GetConfigFileName() |
| 397 | { |
| 398 | lString16 cfgdir( wxStandardPaths::Get().GetUserDataDir().c_str() ); |
| 399 | if ( !wxDirExists( cfgdir.c_str() ) ) |
| 400 | ::wxMkdir( wxString( cfgdir.c_str() ) ); |
| 401 | lChar16 slash = detectSlash( cfgdir ); |
| 402 | cfgdir << slash; |
| 403 | return cfgdir + L"cr3.ini"; |
| 404 | } |
| 405 | |
| 406 | void cr3Frame::OnUpdateUI( wxUpdateUIEvent& event ) |
| 407 | { |
no test coverage detected