X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..c5ce3dfb1efd5346682809f3d2702fd9c4edd52d:/include/wx/gtk/stattext.h?ds=sidebyside diff --git a/include/wx/gtk/stattext.h b/include/wx/gtk/stattext.h index 1df26f4833..dd12304984 100644 --- a/include/wx/gtk/stattext.h +++ b/include/wx/gtk/stattext.h @@ -4,17 +4,12 @@ // Author: Robert Roebling // Id: $Id$ // Copyright: (c) 1998 Robert Roebling -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKSTATICTEXTH__ #define __GTKSTATICTEXTH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/list.h" @@ -24,7 +19,7 @@ // classes //----------------------------------------------------------------------------- -class wxStaticText; +class WXDLLIMPEXP_CORE wxStaticText; //----------------------------------------------------------------------------- // global data @@ -34,7 +29,7 @@ class wxStaticText; // wxStaticText //----------------------------------------------------------------------------- -class wxStaticText : public wxControl +class WXDLLIMPEXP_CORE wxStaticText : public wxControl { public: wxStaticText(); @@ -63,12 +58,20 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // see wx/stattext.h + void Wrap(int width); + // implementation // -------------- - - void ApplyWidgetStyle(); protected: + virtual bool GTKWidgetNeedsMnemonic() const; + virtual void GTKWidgetDoSetMnemonic(GtkWidget* w); + + virtual void DoSetSize(int x, int y, + int width, int height, + int sizeFlags = wxSIZE_AUTO); + virtual wxSize DoGetBestSize() const; DECLARE_DYNAMIC_CLASS(wxStaticText)