X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..701a0b4766abbd9f2f8dee036004d77edc59c4d8:/include/wx/statline.h?ds=sidebyside diff --git a/include/wx/statline.h b/include/wx/statline.h index f660c5d943..7bd1939ceb 100644 --- a/include/wx/statline.h +++ b/include/wx/statline.h @@ -47,7 +47,9 @@ public: static int GetDefaultSize() { return 2; } // overriden base class virtuals - virtual bool AcceptsFocus() const { return FALSE; } + virtual bool AcceptsFocus() const { return false; } + virtual void ApplyParentThemeBackground(const wxColour& bg) + { SetBackgroundColour(bg); } protected: // set the right size for the right dimension @@ -72,6 +74,8 @@ protected: { return AdjustSize(wxDefaultSize); } + + DECLARE_NO_COPY_CLASS(wxStaticLineBase) }; // ---------------------------------------------------------------------------- @@ -88,6 +92,8 @@ protected: #include "wx/os2/statline.h" #elif defined(__WXMAC__) #include "wx/mac/statline.h" +#elif defined(__WXCOCOA__) + #include "wx/cocoa/statline.h" #else // use generic implementation for all other platforms #include "wx/generic/statline.h" #endif