removed final traces of wxStAppResource

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-08-25 23:09:43 +00:00
parent 79dbea2146
commit 333a0af9f9
2 changed files with 0 additions and 26 deletions

View File

@@ -156,20 +156,6 @@ public:
DECLARE_EVENT_TABLE() 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 #endif
// _WX_APP_H_ // _WX_APP_H_

View File

@@ -592,12 +592,6 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
SetEventMask( everyEvent ) ; SetEventMask( everyEvent ) ;
UMAShowWatchCursor() ; 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__ #ifndef __DARWIN__
# if __option(profile) # if __option(profile)
ProfilerInit( collectDetailed, bestTimeBase , 40000 , 50 ) ; ProfilerInit( collectDetailed, bestTimeBase , 40000 , 50 ) ;
@@ -711,12 +705,6 @@ void wxApp::CleanUp()
# endif # endif
#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() ; UMACleanupToolbox() ;
if (s_macCursorRgn) { if (s_macCursorRgn) {
::DisposeRgn((RgnHandle)s_macCursorRgn); ::DisposeRgn((RgnHandle)s_macCursorRgn);