X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3da9cffc79cd41b5f1d0c517c8c945596751e86f..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/stattext.h?ds=sidebyside diff --git a/interface/wx/stattext.h b/interface/wx/stattext.h index 0f9b5cad50..19525e0ae7 100644 --- a/interface/wx/stattext.h +++ b/interface/wx/stattext.h @@ -2,10 +2,14 @@ // Name: stattext.h // Purpose: interface of wxStaticText // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#define wxST_NO_AUTORESIZE 0x0001 +#define wxST_ELLIPSIZE_START 0x0004 +#define wxST_ELLIPSIZE_MIDDLE 0x0008 +#define wxST_ELLIPSIZE_END 0x0010 + /** @class wxStaticText @@ -20,14 +24,14 @@ Align the text to the left. @style{wxALIGN_RIGHT} Align the text to the right. - @style{wxALIGN_CENTRE} + @style{wxALIGN_CENTRE_HORIZONTAL} Center the text (horizontally). @style{wxST_NO_AUTORESIZE} By default, the control will adjust its size to exactly fit to the size of the text when SetLabel() is called. If this style flag is given, the control will not change its size (this style is especially useful with controls which also have the @c wxALIGN_RIGHT or - the @c wxALIGN_CENTRE style because otherwise they won't make sense any + the @c wxALIGN_CENTRE_HORIZONTAL style because otherwise they won't make sense any longer after a call to SetLabel()). @style{wxST_ELLIPSIZE_START} If the labeltext width exceeds the control width, replace the beginning @@ -42,7 +46,7 @@ @library{wxcore} @category{ctrl} - @appearance{statictext.png} + @appearance{statictext} @see wxStaticBitmap, wxStaticBox */