Ignore hints on wxTE_PASSWORD controls when not supported natively

There is no way to show the hint without native support in a control with
wxTE_PASSWORD style, so simply ignore them completely in this case.

Closes #17078.
This commit is contained in:
Vadim Zeitlin
2016-06-28 14:40:52 +02:00
parent 967bdbf994
commit 3dc54df247
4 changed files with 10 additions and 0 deletions

View File

@@ -484,6 +484,9 @@ public:
focus and wxEVT_TEXT events, you must call wxEvent::Skip() on them
so that the generic implementation works correctly.
Another limitation is that hints are ignored for the controls with
@c wxTE_PASSWORD style.
@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.