X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/514e7b7bf83236b0af6286d6e1d3d75dce193d24..36b79d445d08e08776e721d71a832f38daa7fa8c:/include/wx/cocoa/window.h diff --git a/include/wx/cocoa/window.h b/include/wx/cocoa/window.h index 30e1a12dda..d9d55e3218 100644 --- a/include/wx/cocoa/window.h +++ b/include/wx/cocoa/window.h @@ -81,6 +81,7 @@ protected: void CocoaCreateNSScrollView(); void InitMouseEvent(wxMouseEvent &event, WX_NSEvent cocoaEvent); + virtual wxWindow* GetWxWindow() const; virtual void Cocoa_FrameChanged(void); virtual bool Cocoa_drawRect(const NSRect &rect); virtual bool Cocoa_mouseDown(WX_NSEvent theEvent); @@ -95,6 +96,7 @@ protected: virtual bool Cocoa_otherMouseDown(WX_NSEvent theEvent); virtual bool Cocoa_otherMouseDragged(WX_NSEvent theEvent); virtual bool Cocoa_otherMouseUp(WX_NSEvent theEvent); + virtual bool Cocoa_resetCursorRects(); void SetNSView(WX_NSView cocoaNSView); WX_NSView m_cocoaNSView; wxWindowCocoaHider *m_cocoaHider; @@ -160,6 +162,8 @@ public: // Get/set client (application-useable) size virtual void DoGetClientSize(int *width, int *height) const; virtual void DoSetClientSize(int width, int size); + // Set this window's tooltip + virtual void DoSetToolTip( wxToolTip *tip ); // Set the size of the wxWindow (the contentView of an NSWindow) // wxTopLevelWindow will override this and set the NSWindow size // such that the contentView will be this size