removed final traces of wxStAppResource
authorRobin Dunn <robin@alldunn.com>
Wed, 25 Aug 2004 23:09:43 +0000 (23:09 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 25 Aug 2004 23:09:43 +0000 (23:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/app.h
src/mac/carbon/app.cpp

index 15391015a8691161219fa9da6446d3f76cb9e0c2..33db82d82e7e3aaaebc50c8b7226b7c4cd438a6a 100644 (file)
@@ -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_
 
index 612040a6af9da87bcddeb00dedeba175787d4e4a..f1c05f9aecc75376c9f5861b04f11dc0267389fb 100644 (file)
@@ -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);