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
This commit is contained in:
Stefan Csomor 2009-02-13 19:47:00 +00:00
parent 57c0a8ac50
commit 7e06ee6d10

View 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;
}