X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6762286db6cf974817dead5b88bebf0e390dbb7e..63415ba9f5331b2b96215f8a570e05623ea6ec42:/include/wx/osx/stattext.h 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) };