From fd6c94288f31c06d4ad3c7d7ab17ed2e32b16b33 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Wed, 19 Jan 2005 21:41:11 +0000 Subject: [PATCH] Compilation fix for OS/2. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dynlib.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index c8d7e85e18..70287c0b19 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -243,7 +243,11 @@ public: static void *RawGetSymbol(wxDllType handle, const wxString& name); void *RawGetSymbol(const wxString& name) const { +#if defined (__WXPM__) || defined(__EMX__) + return GetSymbol(name); +#else return RawGetSymbol(m_handle, name); +#endif } // return all modules/shared libraries in the address space of this process -- 2.45.2