]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/frame.mm
Update from Hartwig for OS X implementation
[wxWidgets.git] / src / cocoa / frame.mm
index 4a3569d81e6dea670c1666c54f80d66d723166ba..dd494c88dff6e4556a7d5712a236071e4127b14c 100644 (file)
@@ -170,7 +170,7 @@ void wxFrame::CocoaReplaceView(WX_NSView oldView, WX_NSView newView)
 void wxFrame::UpdateFrameNSView()
 {
     if(!m_frameNSView)
-    {
+    {  // NOTE: We only need a plain NSView here since we don't associate it with ourselves.
         m_frameNSView = [[NSView alloc] initWithFrame:[[m_cocoaNSWindow contentView] frame]];
         [m_cocoaNSWindow setContentView: m_frameNSView];
         [m_frameNSView addSubview:m_cocoaNSView];