X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5dbeb31400b36e640d5a5b644d6107420bf2359..f2c2fa4d62b34608e21b04f8010149945aebda70:/src/common/dynlib.cpp?ds=sidebyside diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index ef1ba88aa1..5086123d93 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -190,7 +190,7 @@ wxDllLoader::GetProgramHandle(void) // shl_findsymbol with NULL handle looks up in main program return 0; #else - wxFAIL_MSG(_("This method is not implemented under Windows or OS/2")); + wxFAIL_MSG( wxT("This method is not implemented under Windows or OS/2")); return 0; #endif } @@ -276,7 +276,7 @@ wxDllLoader::GetSymbol(wxDllType dllHandle, const wxString &name) // wxLibraries (only one instance should normally exist) // --------------------------------------------------------------------------- -wxLibraries::wxLibraries() +wxLibraries::wxLibraries():m_loaded(wxKEY_STRING) { } @@ -321,13 +321,13 @@ wxLibrary *wxLibraries::LoadLibrary(const wxString& name) wxString libPath("/lib:/usr/lib"); // system path first const char *envLibPath = getenv("LD_LIBRARY_PATH"); if ( envLibPath ) - libPath << ':' << envLibPath; - wxStringTokenizer tokenizer(libPath, _T(':')); + libPath << wxT(':') << envLibPath; + wxStringTokenizer tokenizer(libPath, wxT(':')); while ( tokenizer.HasMoreToken() ) { wxString fullname(tokenizer.NextToken()); - fullname << '/' << libname; + fullname << wxT('/') << libname; if ( wxFileExists(fullname) ) { libname = fullname;