From 333a0af9f9fb7822e4dba0796fe4a6cf550f7050 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 25 Aug 2004 23:09:43 +0000 Subject: [PATCH] removed final traces of wxStAppResource git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/app.h | 14 -------------- src/mac/carbon/app.cpp | 12 ------------ 2 files changed, 26 deletions(-) diff --git a/include/wx/mac/carbon/app.h b/include/wx/mac/carbon/app.h index 15391015a8..33db82d82e 100644 --- a/include/wx/mac/carbon/app.h +++ b/include/wx/mac/carbon/app.h @@ -156,20 +156,6 @@ public: DECLARE_EVENT_TABLE() }; -class WXDLLEXPORT wxStAppResource -{ -public: - wxStAppResource() ; - ~wxStAppResource() ; - - // opaque pointer for CFragInitBlock - static void OpenSharedLibraryResource(const void *) ; - static void CloseSharedLibraryResource() ; - -private: - short m_currentRefNum ; -} ; - #endif // _WX_APP_H_ diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 612040a6af..f1c05f9aec 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -592,12 +592,6 @@ bool wxApp::Initialize(int& argc, wxChar **argv) SetEventMask( everyEvent ) ; UMAShowWatchCursor() ; -#if defined(WXMAKINGDLL_CORE) && defined(__DARWIN__) - // open shared library resources from here since we don't have - // __wxinitialize in Mach-O shared libraries - wxStAppResource::OpenSharedLibraryResource(NULL); -#endif - #ifndef __DARWIN__ # if __option(profile) ProfilerInit( collectDetailed, bestTimeBase , 40000 , 50 ) ; @@ -711,12 +705,6 @@ void wxApp::CleanUp() # endif #endif -#if defined(WXMAKINGDLL_CORE) && defined(__DARWIN__) - // close shared library resources from here since we don't have - // __wxterminate in Mach-O shared libraries - wxStAppResource::CloseSharedLibraryResource(); -#endif - UMACleanupToolbox() ; if (s_macCursorRgn) { ::DisposeRgn((RgnHandle)s_macCursorRgn); -- 2.45.2