]> git.saurik.com Git - wxWidgets.git/commitdiff
direct wxFrame events support (paint was not delivered directly)
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 13 Feb 2009 19:47:00 +0000 (19:47 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 13 Feb 2009 19:47:00 +0000 (19:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/window.mm

index d535ec48798da71c7614d7960f8964260098f965..e17d8b6863f11b133d8ba35f209e1484d5eb26d5 100644 (file)
@@ -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;
 }