Patch level :4.0 800
Files correlati : Ricompilazione Demo : [ ] Commento : aggiunte modifiche per il nuovo setup git-svn-id: svn://10.65.10.50/trunk@15674 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d5a25be4b0
commit
a12bb3c923
@ -1,5 +1,6 @@
|
||||
#include "../xvaga/wxinc.h"
|
||||
|
||||
#include <wx/filename.h>
|
||||
#include <wx/snglinst.h>
|
||||
|
||||
extern int xvt_main(int argc, char** argv);
|
||||
@ -44,10 +45,9 @@ void TMainApp::OnTimer(wxTimerEvent& event)
|
||||
|
||||
bool TMainApp::OnInit()
|
||||
{
|
||||
wxString strApp = argv[0];
|
||||
const wxString strWrk = strApp.BeforeLast('.');
|
||||
strApp = strWrk.Right(3);
|
||||
strApp.MakeLower();
|
||||
wxFileName strWrk = argv[0];
|
||||
const wxString strApp = strWrk.GetName().Lower();
|
||||
|
||||
m_sic = new wxSingleInstanceChecker(strApp);
|
||||
m_Locale.Init(wxLocale::GetSystemLanguage()); // wxLANGUAGE_ITALIAN
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user