]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynlib.cpp
1. undid my wrong fix to wxWindowBase::Centre
[wxWidgets.git] / src / common / dynlib.cpp
index ef1ba88aa14dd00b564841c9441090123a8a5892..8ad47c2b837bbc0cb1ede3418e61edf7361e0d1a 100644 (file)
@@ -276,7 +276,7 @@ wxDllLoader::GetSymbol(wxDllType dllHandle, const wxString &name)
 // wxLibraries (only one instance should normally exist)
 // ---------------------------------------------------------------------------
 
 // wxLibraries (only one instance should normally exist)
 // ---------------------------------------------------------------------------
 
-wxLibraries::wxLibraries()
+wxLibraries::wxLibraries():m_loaded(wxKEY_STRING)
 {
 }
 
 {
 }
 
@@ -322,7 +322,7 @@ wxLibrary *wxLibraries::LoadLibrary(const wxString& name)
     const char *envLibPath = getenv("LD_LIBRARY_PATH");
     if ( envLibPath )
         libPath << ':' << envLibPath;
     const char *envLibPath = getenv("LD_LIBRARY_PATH");
     if ( envLibPath )
         libPath << ':' << envLibPath;
-    wxStringTokenizer tokenizer(libPath, _T(':'));
+    wxStringTokenizer tokenizer(libPath, wxT(':'));
     while ( tokenizer.HasMoreToken() )
     {
         wxString fullname(tokenizer.NextToken());
     while ( tokenizer.HasMoreToken() )
     {
         wxString fullname(tokenizer.NextToken());