#ifdef'd out some parts for non-supported systems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,18 +127,21 @@ wxLibrary *wxLibraries::LoadLibrary(const wxString& name)
|
|||||||
|
|
||||||
if (!handle)
|
if (!handle)
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#elif defined( __WINDOWS__ )
|
||||||
#ifdef __WINDOWS__
|
|
||||||
lib_name += ".dll";
|
lib_name += ".dll";
|
||||||
|
|
||||||
HMODULE handle = LoadLibrary(lib_name);
|
HMODULE handle = LoadLibrary(lib_name);
|
||||||
if (!handle)
|
if (!handle)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
#else
|
||||||
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__LINUX__) || defined(__SGI__) || defined (__WINDOWS__)
|
||||||
lib = new wxLibrary((void *)handle);
|
lib = new wxLibrary((void *)handle);
|
||||||
|
|
||||||
m_loaded.Append(name.GetData(), lib);
|
m_loaded.Append(name.GetData(), lib);
|
||||||
return lib;
|
return lib;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
wxObject *wxLibraries::CreateObject(const wxString& path)
|
wxObject *wxLibraries::CreateObject(const wxString& path)
|
||||||
|
Reference in New Issue
Block a user