]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/frame.mm
implementation changes to closer follow MSW, crashes fixed
[wxWidgets.git] / src / cocoa / frame.mm
index 9d3ff26566940b3c68a5c17b3b3ee4aa4d50f510..f74bbf4a0a25279e26a0724d796c4a2e5af28762 100644 (file)
@@ -97,6 +97,13 @@ void wxFrame::CocoaSetWxWindowSize(int width, int height)
     wxTopLevelWindow::CocoaSetWxWindowSize(width,height);
 }
 
+WX_NSView wxFrame::GetNonClientNSView()
+{
+    if(m_frameNSView)
+        return m_frameNSView;
+    return GetNSViewForSuperview();
+}
+
 void wxFrame::CocoaReplaceView(WX_NSView oldView, WX_NSView newView)
 {
     // If we have the additional toolbar/statbar view, then the