X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19cf1ef3a7077dd99a90f141847b8a9b67b318c9..07c0e08a268beb596ffd54aaf541b9d060478ea4:/include/wx/stattext.h diff --git a/include/wx/stattext.h b/include/wx/stattext.h index 3a1c6cb047..395b19066a 100644 --- a/include/wx/stattext.h +++ b/include/wx/stattext.h @@ -29,7 +29,7 @@ #define wxST_ELLIPSIZE_END 0x0010 -extern WXDLLEXPORT_DATA(const wxChar) wxStaticTextNameStr[]; +extern WXDLLEXPORT_DATA(const char) wxStaticTextNameStr[]; class WXDLLEXPORT wxStaticTextBase : public wxControl { @@ -72,6 +72,9 @@ public: 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;