From: Václav Slavík Date: Wed, 6 Aug 2003 20:27:21 +0000 (+0000) Subject: removed OSX code that is no longer needed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b0540bb8ba756e2df3479073d9f6d7c3373460c3 removed OSX code that is no longer needed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/object.cpp b/src/common/object.cpp index 9f6fccef06..44e8d36ef3 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -364,34 +364,3 @@ wxObject::CloneRefData(const wxObjectRefData * WXUNUSED(data)) const return NULL; } - -// ---------------------------------------------------------------------------- -// misc -// ---------------------------------------------------------------------------- - -#if defined(__DARWIN__) && defined(WXMAKINGDLL) - -extern "C" { - void __initialize_Cplusplus(void); - void wxWindowsDylibInit(void); -}; - -// Dynamic shared library (dylib) initialization routine -// required to initialize static C++ objects bacause of lazy dynamic linking -// http://developer.apple.com/techpubs/macosx/Essentials/ -// SystemOverview/Frameworks/Dynamic_Shared_Libraries.html - -void wxWindowsDylibInit() -{ - // The function __initialize_Cplusplus() must be called from the shared - // library initialization routine to cause the static C++ objects in - // the library to be initialized (reference number 2441683). - - // This only seems to be necessary if the library initialization routine - // needs to use the static C++ objects - __initialize_Cplusplus(); -} - -#endif - -// vi:sts=4:sw=4:et