diff --git a/include/wx/univ/stattext.h b/include/wx/univ/stattext.h index 8f3fc62edd..7ee5cac3ff 100644 --- a/include/wx/univ/stattext.h +++ b/include/wx/univ/stattext.h @@ -62,7 +62,7 @@ protected: virtual void DoSetLabel(const wxString& str); virtual wxString DoGetLabel() const; - DECLARE_ABSTRACT_CLASS(wxStaticText) + DECLARE_DYNAMIC_CLASS(wxStaticText) }; #endif // _WX_UNIV_STATTEXT_H_