X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8208e181cb576ec6cda37624923f95a59af43072..e7e5298cca88ec845ce24fda97732f13a7b7dc93:/include/wx/mac/stattext.h diff --git a/include/wx/mac/stattext.h b/include/wx/mac/stattext.h index 5cf88232a2..e41f06ba4f 100644 --- a/include/wx/mac/stattext.h +++ b/include/wx/mac/stattext.h @@ -44,14 +44,15 @@ class WXDLLEXPORT wxStaticText: public wxControl const wxString& name = wxStaticTextNameStr); // accessors - void SetLabel(const wxString& , bool resize ); - void SetLabel( const wxString &str ) { SetLabel( str , true ) ; } + void SetLabel( const wxString &str ) ; // operations virtual void Command(wxCommandEvent& WXUNUSED(event)) {}; virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}; // events void OnPaint( wxPaintEvent &event ) ; + void OnDraw( wxDC &dc ) ; wxSize DoGetBestSize() const ; + virtual bool AcceptsFocus() const { return FALSE; } private : wxString m_label ;