cocoa bridge added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -900,6 +900,9 @@ bool wxApp::OnInitGui()
|
||||
sQuitHandler , 0 , FALSE ) ;
|
||||
}
|
||||
|
||||
if ( !wxMacInitCocoa() )
|
||||
return false;
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
@@ -1194,6 +1197,7 @@ bool wxApp::Yield(bool onlyIfNeeded)
|
||||
|
||||
void wxApp::MacDoOneEvent()
|
||||
{
|
||||
wxMacAutoreleasePool autoreleasepool;
|
||||
EventRef theEvent;
|
||||
|
||||
s_inReceiveEvent = true ;
|
||||
|
@@ -29,5 +29,5 @@ wxMacAutoreleasePool::wxMacAutoreleasePool()
|
||||
|
||||
wxMacAutoreleasePool::~wxMacAutoreleasePool()
|
||||
{
|
||||
[m_pool release];
|
||||
[(NSAutoreleasePool*)m_pool release];
|
||||
}
|
||||
|
Reference in New Issue
Block a user