[wxWidgets/Mac 2.8.2] wxTextCtrl + wxTE_PASSWORD display problem

Don dho at dictao.com
Thu Aug 16 02:47:50 PDT 2007


Hi,

Configuration :
wxWidgets 2.8.2
MacBook (Intel Archetecture) with Mac OS X 10.4.10

I add a wxTextCtrl with wxTE_PASSWORD style in my dialog, here is the code 
to initialize wxTextCtrl object:
wxTextCtrl* secretCodeField = new wxTextCtrl( itemDialog1, ID_TEXTCTRL2, 
_T(""), wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );


The problem I got is when I type the password in my text control,
the password text is not echoed as asterisks, but there is nothing shown in 
the text field.

The same code works fine under PPC (the password text is echoed as 
asterisks).

What do I miss?

Thanks
Don










More information about the wx-users mailing list