X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8208e181cb576ec6cda37624923f95a59af43072..7ba4fbebbc40bdf9c140f4c9ba9977fbf810527d:/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 ;