From cd3eb0f7bbbb9b2954ff497e06bff52eb012076f Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Mon, 12 May 2008 12:47:59 +0000 Subject: [PATCH] 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 --- interface/stattext.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.50.0