X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7742efff20a96c52bf18c38da606e6522e728877..487c1f7ef2ad59cf8ed6d8aca317d20304ca27bd:/src/common/dynlib.cpp diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 228cc67835..5086123d93 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -190,8 +190,7 @@ wxDllLoader::GetProgramHandle(void) // shl_findsymbol with NULL handle looks up in main program return 0; #else -#warning "Please implement this for your system!" - 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 } @@ -277,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) { } @@ -322,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;