X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..ae072480721f82bda63771a4ef1d9ef278d2b1b0:/include/wx/gtk/stattext.h diff --git a/include/wx/gtk/stattext.h b/include/wx/gtk/stattext.h index eb9ee2a86e..2661b124e8 100644 --- a/include/wx/gtk/stattext.h +++ b/include/wx/gtk/stattext.h @@ -24,7 +24,7 @@ // classes //----------------------------------------------------------------------------- -class wxStaticText; +class WXDLLIMPEXP_CORE wxStaticText; //----------------------------------------------------------------------------- // global data @@ -34,7 +34,7 @@ class wxStaticText; // wxStaticText //----------------------------------------------------------------------------- -class wxStaticText : public wxControl +class WXDLLIMPEXP_CORE wxStaticText : public wxControl { public: wxStaticText(); @@ -63,12 +63,17 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // see wx/stattext.h + void Wrap(int width); + // implementation // -------------- - - void ApplyWidgetStyle(); protected: + virtual void DoSetSize(int x, int y, + int width, int height, + int sizeFlags = wxSIZE_AUTO); + virtual wxSize DoGetBestSize() const; DECLARE_DYNAMIC_CLASS(wxStaticText)