wxWinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,7 +15,9 @@
|
|||||||
#include "wx/dynlib.h"
|
#include "wx/dynlib.h"
|
||||||
|
|
||||||
#include "wx/msw/wrapwin.h"
|
#include "wx/msw/wrapwin.h"
|
||||||
|
#ifndef __WXWINCE__
|
||||||
#include <imagehlp.h>
|
#include <imagehlp.h>
|
||||||
|
#endif // __WXWINCE__
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
|
||||||
// we need to determine whether we have the declarations for the function in
|
// we need to determine whether we have the declarations for the function in
|
||||||
|
@@ -262,7 +262,13 @@ void wxDynamicLibrary::Unload(wxDllType handle)
|
|||||||
/* static */
|
/* static */
|
||||||
void *wxDynamicLibrary::RawGetSymbol(wxDllType handle, const wxString& name)
|
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__
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -32,6 +32,7 @@
|
|||||||
#endif //WX_PRECOMP
|
#endif //WX_PRECOMP
|
||||||
|
|
||||||
#include "wx/apptrait.h"
|
#include "wx/apptrait.h"
|
||||||
|
#include "wx/dynlib.h"
|
||||||
#include "wx/dynload.h"
|
#include "wx/dynload.h"
|
||||||
|
|
||||||
#include "wx/confbase.h" // for wxExpandEnvVars()
|
#include "wx/confbase.h" // for wxExpandEnvVars()
|
||||||
|
Reference in New Issue
Block a user