From 20b53502d9ea7c7c2240b8bab29c9afead63dc35 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Thu, 3 Aug 2017 21:30:40 +0200 Subject: [PATCH] Update documentation regarding styles of wxTextCtrl Add notes that some styles are available also on wxOSX. Mention that wrapping is available only for multi-line controls. --- interface/wx/textctrl.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/interface/wx/textctrl.h b/interface/wx/textctrl.h index 1bcb628444..d7c0cc54cc 100644 --- a/interface/wx/textctrl.h +++ b/interface/wx/textctrl.h @@ -981,23 +981,23 @@ public: @style{wxTE_LEFT} The text in the control will be left-justified (default). @style{wxTE_CENTRE} - The text in the control will be centered (currently wxMSW and - wxGTK2 only). + The text in the control will be centered (wxMSW, wxGTK, wxOSX). @style{wxTE_RIGHT} - The text in the control will be right-justified (currently wxMSW - and wxGTK2 only). + The text in the control will be right-justified (wxMSW, wxGTK, + wxOSX). @style{wxTE_DONTWRAP} Same as wxHSCROLL style: don't wrap at all, show horizontal scrollbar instead. @style{wxTE_CHARWRAP} - Wrap the lines too long to be shown entirely at any position - (wxUniv and wxGTK2 only). + For multiline controls only: wrap the lines too long to be shown + entirely at any position (wxUniv and wxGTK). @style{wxTE_WORDWRAP} - Wrap the lines too long to be shown entirely at word boundaries - (wxUniv and wxGTK2 only). + For multiline controls only: wrap the lines too long to be shown + entirely at word boundaries (wxUniv, wxMSW, wxGTK, wxOSX). @style{wxTE_BESTWRAP} - Wrap the lines at word boundaries or at any other character if - there are words longer than the window width (this is the default). + For multiline controls only: wrap the lines at word boundaries + or at any other character if there are words longer than the window + width (this is the default). @style{wxTE_CAPITALIZE} On PocketPC and Smartphone, causes the first letter to be capitalized.