X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82f8ea8547dca786d909485596215b7542931288..ff46415213f7435aa64ab4f5b7dfdbb7b31f3796:/include/wx/osx/window.h diff --git a/include/wx/osx/window.h b/include/wx/osx/window.h index 51f34e91d7..54446478ad 100644 --- a/include/wx/osx/window.h +++ b/include/wx/osx/window.h @@ -91,6 +91,8 @@ public: virtual bool SetBackgroundColour( const wxColour &colour ); virtual bool SetForegroundColour( const wxColour &colour ); + virtual bool SetBackgroundStyle(wxBackgroundStyle style); + virtual int GetCharHeight() const; virtual int GetCharWidth() const; @@ -263,6 +265,8 @@ public: virtual bool OSXHandleClicked( double timestampsec ); virtual bool OSXHandleKeyEvent( wxKeyEvent& event ); + + bool IsNativeWindowWrapper() const { return m_isNativeWindowWrapper; } protected: // For controls like radio buttons which are genuinely composite wxList m_subControls; @@ -297,6 +301,8 @@ protected: bool m_vScrollBarAlwaysShown; wxWindow* m_growBox ; wxString m_label ; + + bool m_isNativeWindowWrapper; // set to true if we do a sharp clip at the content area of this window // must be dynamic as eg a panel normally is not clipping precisely, but if