Mercurial > ecos
diff host/tools/configtool/standalone/wxwin/configtool.cpp @ 646:9af89f295088
* standalone/wxwin/makefile.gnu:
Use libtcl.a rather than libcygtcl83.a for Cygwin build
* standalone/wxwin/admindlg.cpp:
Accommodate const char * returned by Tcl_SetVar() and
Tcl_GetStringResult() in Tcl 8.4.
* standalone/wxwin/configtool.cpp: Call Tcl_FindExecutable().
| author | jld |
|---|---|
| date | Wed, 19 Feb 2003 09:29:24 +0000 |
| parents | f83ca6359915 |
| children | 706b0bdaf01c |
line wrap: on
line diff
--- a/host/tools/configtool/standalone/wxwin/configtool.cpp +++ b/host/tools/configtool/standalone/wxwin/configtool.cpp @@ -163,7 +163,7 @@ bool ecApp::OnInit() CeCosSocket::Init(); CeCosTestPlatform::Load(); - + wxHelpProvider::Set(new wxSimpleHelpProvider); //wxHelpProvider::Set(new wxHelpControllerHelpProvider(& m_helpController)); @@ -175,6 +175,9 @@ bool ecApp::OnInit() wxFileSystem::AddHandler(m_zipHandler); #endif + // Mandatory initialisation for Tcl 8.4 + Tcl_FindExecutable(argv[0]); + wxString currentDir = wxGetCwd(); // Use argv to get current app directory
