From: Vadim Zeitlin Date: Wed, 17 Aug 2005 13:47:35 +0000 (+0000) Subject: hacked around wxGTK wxStaticText which doesn't derive from wxStaticTextBase (argh... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bb8051f2fd7356b9072e87d3060aaf6abfa04ca3 hacked around wxGTK wxStaticText which doesn't derive from wxStaticTextBase (argh): declare and define Wrap() directly in wxStaticText for this port git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/stattext.h b/include/wx/gtk/stattext.h index a39b1c3d4e..2661b124e8 100644 --- a/include/wx/gtk/stattext.h +++ b/include/wx/gtk/stattext.h @@ -63,6 +63,9 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // see wx/stattext.h + void Wrap(int width); + // implementation // -------------- diff --git a/include/wx/gtk1/stattext.h b/include/wx/gtk1/stattext.h index a39b1c3d4e..2661b124e8 100644 --- a/include/wx/gtk1/stattext.h +++ b/include/wx/gtk1/stattext.h @@ -63,6 +63,9 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // see wx/stattext.h + void Wrap(int width); + // implementation // --------------