]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for OS/2.
authorStefan Neis <Stefan.Neis@t-online.de>
Wed, 19 Jan 2005 21:41:11 +0000 (21:41 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Wed, 19 Jan 2005 21:41:11 +0000 (21:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dynlib.h

index c8d7e85e1895b3e80df54be706510e1ad8d3a0af..70287c0b19ddb113d1dc280ec749079b9739f087 100644 (file)
@@ -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