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;
virtual wxString DoGetLabel() const;
virtual void DoSetLabel(const wxString& str);
+#if wxUSE_MARKUP
+ virtual bool DoSetLabelMarkup(const wxString& markup);
+#endif // wxUSE_MARKUP
+
+private:
+ // Common part of SetLabel() and DoSetLabelMarkup().
+ typedef void (wxStaticText::*GTKLabelSetter)(GtkLabel *, const wxString&);
+
+ void GTKDoSetLabel(GTKLabelSetter setter, const wxString& label);
+
DECLARE_DYNAMIC_CLASS(wxStaticText)
};