X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6762286db6cf974817dead5b88bebf0e390dbb7e..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/include/wx/osx/stattext.h?ds=sidebyside diff --git a/include/wx/osx/stattext.h b/include/wx/osx/stattext.h index fc69ab3457..d83a51d874 100644 --- a/include/wx/osx/stattext.h +++ b/include/wx/osx/stattext.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: stattext.h +// Name: wx/osx/stattext.h // Purpose: wxStaticText class // Author: Stefan Csomor // Modified by: @@ -38,7 +38,7 @@ public: void SetLabel( const wxString &str ) ; bool SetFont( const wxFont &font ); - virtual bool AcceptsFocus() const { return FALSE; } + virtual bool AcceptsFocus() const { return false; } protected : @@ -47,6 +47,10 @@ protected : virtual wxSize DoGetBestSize() const ; +#if wxUSE_MARKUP && wxOSX_USE_COCOA + virtual bool DoSetLabelMarkup(const wxString& markup); +#endif // wxUSE_MARKUP && wxOSX_USE_COCOA + DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticText) };