From 7e06ee6d105c81eaa1c7d21ec305ebf4f5c54b5c Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 13 Feb 2009 19:47:00 +0000 Subject: [PATCH] direct wxFrame events support (paint was not delivered directly) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/window.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osx/cocoa/window.mm b/src/osx/cocoa/window.mm index d535ec4879..e17d8b6863 100644 --- a/src/osx/cocoa/window.mm +++ b/src/osx/cocoa/window.mm @@ -1337,6 +1337,7 @@ wxWidgetImpl* wxWidgetImpl::CreateContentView( wxNonOwnedWindow* now ) NSWindow* tlw = now->GetWXWindow(); wxNSView* v = [[wxNSView alloc] initWithFrame:[[tlw contentView] frame]]; wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( now, v, true ); + c->InstallEventHandler(); [tlw setContentView:v]; return c; }