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:
@@ -1102,6 +1102,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
|
||||
|
||||
m_password = new MyTextCtrl( this, wxID_ANY, wxT(""),
|
||||
wxPoint(10,50), wxSize(140,wxDefaultCoord), wxTE_PASSWORD );
|
||||
m_password->SetHint("Don't use 12345 here");
|
||||
|
||||
m_limited = new MyTextCtrl(this, wxID_ANY, "",
|
||||
wxPoint(10, 90), wxDefaultSize);
|
||||
|
Reference in New Issue
Block a user