X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6762286db6cf974817dead5b88bebf0e390dbb7e..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/osx/stattext.h diff --git a/include/wx/osx/stattext.h b/include/wx/osx/stattext.h index fc69ab3457..3b4b9b6637 100644 --- a/include/wx/osx/stattext.h +++ b/include/wx/osx/stattext.h @@ -1,10 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: stattext.h +// Name: wx/osx/stattext.h // Purpose: wxStaticText class // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -38,7 +37,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 +46,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) };