X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adb4816c3eb825108e8e94ef523a5da666111430..7b162e540e98415f8ac6bc1fd5b880e143aa85e5:/include/wx/cocoa/window.h diff --git a/include/wx/cocoa/window.h b/include/wx/cocoa/window.h index cbfc40a11b..30e1a12dda 100644 --- a/include/wx/cocoa/window.h +++ b/include/wx/cocoa/window.h @@ -65,6 +65,9 @@ public: WX_NSView GetNSViewForSuperview() const; // Returns the NSView that may be hidden/is being hidden WX_NSView GetNSViewForHiding() const; + // Returns the NSView for non-client drawing + virtual WX_NSView GetNonClientNSView() { return GetNSViewForSuperview(); } + // Add/remove children void CocoaAddChild(wxWindowCocoa *child); void CocoaRemoveFromParent(void); protected: