bracketed include def for CW nothrow flag for MAKINGDLL only

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2002-02-16 11:16:38 +00:00
parent 8ac7c50924
commit 0a6cce3b98
2 changed files with 10 additions and 8 deletions

View File

@ -373,11 +373,12 @@ void wxMacStringToPascal( const char * from , StringPtr to , bool pc2macEncoding
CopyCStringToPascal( from , to ) ;
}
}
#ifdef WXMAKINGDLL
#ifndef __DARWIN__
// we know it's there ;-)
WXIMPORT char std::__throws_bad_alloc ;
#endif
#endif
bool wxApp::Initialize()
{
@ -509,6 +510,9 @@ bool wxApp::Initialize()
#endif // wxUSE_LOG
#endif
wxWinMacWindowList = new wxList(wxKEY_INTEGER);
wxWinMacControlList = new wxList(wxKEY_INTEGER);
wxInitializeStockLists();
wxInitializeStockObjects();
@ -523,9 +527,6 @@ bool wxApp::Initialize()
return FALSE;
}
wxWinMacWindowList = new wxList(wxKEY_INTEGER);
wxWinMacControlList = new wxList(wxKEY_INTEGER);
wxMacCreateNotifierTable() ;
UMAShowArrowCursor() ;

View File

@ -373,11 +373,12 @@ void wxMacStringToPascal( const char * from , StringPtr to , bool pc2macEncoding
CopyCStringToPascal( from , to ) ;
}
}
#ifdef WXMAKINGDLL
#ifndef __DARWIN__
// we know it's there ;-)
WXIMPORT char std::__throws_bad_alloc ;
#endif
#endif
bool wxApp::Initialize()
{
@ -509,6 +510,9 @@ bool wxApp::Initialize()
#endif // wxUSE_LOG
#endif
wxWinMacWindowList = new wxList(wxKEY_INTEGER);
wxWinMacControlList = new wxList(wxKEY_INTEGER);
wxInitializeStockLists();
wxInitializeStockObjects();
@ -523,9 +527,6 @@ bool wxApp::Initialize()
return FALSE;
}
wxWinMacWindowList = new wxList(wxKEY_INTEGER);
wxWinMacControlList = new wxList(wxKEY_INTEGER);
wxMacCreateNotifierTable() ;
UMAShowArrowCursor() ;