changes for embedded, applying patch, fixes #10359
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -192,8 +192,8 @@ bool wxApp::DoInitGui()
|
|||||||
NSAppleEventManager *appleEventManager = [NSAppleEventManager sharedAppleEventManager];
|
NSAppleEventManager *appleEventManager = [NSAppleEventManager sharedAppleEventManager];
|
||||||
[appleEventManager setEventHandler:controller andSelector:@selector(handleGetURLEvent:withReplyEvent:)
|
[appleEventManager setEventHandler:controller andSelector:@selector(handleGetURLEvent:withReplyEvent:)
|
||||||
forEventClass:kInternetEventClass andEventID:kAEGetURL];
|
forEventClass:kInternetEventClass andEventID:kAEGetURL];
|
||||||
|
[NSApp finishLaunching];
|
||||||
}
|
}
|
||||||
[NSApp finishLaunching];
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -651,6 +651,7 @@ class wxHIDModule : public wxModule
|
|||||||
{
|
{
|
||||||
for(size_t i = 0; i < sm_keyboards.GetCount(); ++i)
|
for(size_t i = 0; i < sm_keyboards.GetCount(); ++i)
|
||||||
delete (wxHIDKeyboard*) sm_keyboards[i];
|
delete (wxHIDKeyboard*) sm_keyboards[i];
|
||||||
|
sm_keyboards.Clear();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user