Allow setting hints for multi-line wxTextCtrl when supported.

Don't prevent people from using hints in wxMSW and wxGTK2, where they work
with multiline text controls too, even though they do not work with wxGTK3 nor
wxOSX.

Closes #14456.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-12-25 01:32:00 +00:00
parent 73a38319d8
commit e8374a47fe
7 changed files with 12 additions and 16 deletions

View File

@@ -473,9 +473,9 @@ public:
focus and wxEVT_TEXT events, you must call wxEvent::Skip() on them
so that the generic implementation works correctly.
@remarks Hints can only be used for single line text controls,
native multi-line text controls don't support hints under any
platform and hence wxWidgets doesn't provide them neither.
@remarks Hints can be used for single line text controls under all
platforms, but only MSW and GTK+ 2 support them for multi-line text
controls, they are ignored for them under the other platforms.
@since 2.9.0
*/