#define wxST_ELLIPSIZE_END 0x0010
-extern WXDLLEXPORT_DATA(const wxChar) wxStaticTextNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStaticTextNameStr[];
-class WXDLLEXPORT wxStaticTextBase : public wxControl
+class WXDLLIMPEXP_CORE wxStaticTextBase : public wxControl
{
public:
wxStaticTextBase() { }
// public utilities (symmetric to those in wxControl about mnemonics):
+ // get the string without mnemonic characters ('&') and without markup
+ static wxString GetLabelText(const wxString& label);
+
// removes the markup accepted by wxStaticText when wxST_MARKUP is used,
// and then returns the cleaned string
static wxString RemoveMarkup(const wxString& str);
protected: // functions required for wxST_ELLIPSIZE_* support
+ // choose the default border for this window
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
// just calls RemoveMarkup & Ellipsize on the original label.
virtual wxString GetEllipsizedLabelWithoutMarkup() const;