]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynlib.cpp
remove us from the parents children list in Destroy()
[wxWidgets.git] / src / common / dynlib.cpp
index c7e7a28ed9d4b2539d479a52b75ece9d9e622e2c..ab4178d9a0241ea9616738e947acd6576a3fe62d 100644 (file)
@@ -353,7 +353,11 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
         symbol = 0;
 
 #elif defined(__WINDOWS__)
+#ifdef __WXWINCE__
+    symbol = (void*) ::GetProcAddress( m_handle, name );
+#else
     symbol = (void*) ::GetProcAddress( m_handle, name.mb_str() );
+#endif
 
 #else
 #error  "runtime shared lib support not implemented"