X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ce7b0b55c14fb5c640f290783c47e7639e0916c..a4301b8f14d21b7d28fc4f6a247b740d945ca6dc:/include/wx/osx/core/private.h diff --git a/include/wx/osx/core/private.h b/include/wx/osx/core/private.h index fb28fd6e72..0bf016b71f 100644 --- a/include/wx/osx/core/private.h +++ b/include/wx/osx/core/private.h @@ -282,6 +282,8 @@ public : virtual bool NeedsFrame() const; virtual void SetNeedsFrame( bool needs ); + + virtual void SetDrawingEnabled(bool enabled); virtual bool CanFocus() const = 0; // return true if successful @@ -302,14 +304,15 @@ public : virtual void CaptureMouse() = 0; virtual void ReleaseMouse() = 0; - virtual void SetDropTarget( wxDropTarget *dropTarget ) {} + virtual void SetDropTarget( wxDropTarget * WXUNUSED(dropTarget) ) {} virtual wxInt32 GetValue() const = 0; virtual void SetValue( wxInt32 v ) = 0; virtual wxBitmap GetBitmap() const = 0; virtual void SetBitmap( const wxBitmap& bitmap ) = 0; virtual void SetBitmapPosition( wxDirection dir ) = 0; - virtual void SetupTabs( const wxNotebook ¬ebook ) =0; + virtual void SetupTabs( const wxNotebook& WXUNUSED(notebook) ) {} + virtual int TabHitTest( const wxPoint & WXUNUSED(pt), long *flags ) {*flags=1; return -1;}; virtual void GetBestRect( wxRect *r ) const = 0; virtual bool IsEnabled() const = 0; virtual void Enable( bool enable ) = 0;