From: Stefan Neis Date: Mon, 12 May 2008 12:47:59 +0000 (+0000) Subject: Clarified difference between wrap width and width of control in wxStaticText. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cd3eb0f7bbbb9b2954ff497e06bff52eb012076f?ds=sidebyside;hp=1e678b9b9392d7e2897c96af79ed76acc75c9fe4 Clarified difference between wrap width and width of control in wxStaticText. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/stattext.h b/interface/stattext.h index f4a7369ae7..9e16e68e74 100644 --- a/interface/stattext.h +++ b/interface/stattext.h @@ -201,7 +201,9 @@ public: This functions wraps the controls label so that each of its lines becomes at most @a width pixels wide if possible (the lines are broken at words boundaries so it might not be the case if words are too long). If @e width - is negative, no wrapping is done. + is negative, no wrapping is done. Note that this width is not + necessarily the total width of the control, since a few pixels for the + border (depending on the controls border style) may be added. @since 2.6.2 */