wxWinCE fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-01-18 10:10:23 +00:00
parent 1a1e9ff1c3
commit 23ee4b4874
3 changed files with 10 additions and 1 deletions

View File

@@ -262,7 +262,13 @@ void wxDynamicLibrary::Unload(wxDllType handle)
/* static */
void *wxDynamicLibrary::RawGetSymbol(wxDllType handle, const wxString& name)
{
return (void *)::GetProcAddress(handle, name.ToAscii());
return (void *)::GetProcAddress(handle,
#ifdef __WXWINCE__
name.c_str()
#else
name.ToAscii()
#endif // __WXWINCE__
);
}
// ----------------------------------------------------------------------------