[wxPython-users] Re: Dialog window placement won't work.
by Grant Edwards other posts by this author
Dec 3 2004 9:12PM messages near this date
[wxPython-users] Re: (Newbie)Wich Editor?
|
Re: [wxPython-users] Re: Dialog window placement won't work.
On Fri, Dec 03, 2004 at 12:51:43PM -0800, Robin Dunn wrote:
> >However, or'ing wx.DEFAULT_DIALOG_STYLE into TextEntryDialog's
> >style causes the entry field to show asterisks instead of the
> >entered text. Is that what's supposed to happen?
>
> One of the style bits in wx.DEFAULT_DIALOG_STYLE probably has the same
> value as wx.TE_PASSWORD. This is a common problem when trying to
> combine styles for two different things in one style value.
Yup:
DEFAULT 0x20001800
PASSWORD 0x00000800
Does this mean that the "style" bits are overloaded?
I'm a little surprised that the "default" style for dialogs is
"password" mode.
It also seems odd that neither wx.SingleChoiceDialog nor
wx.TextEntryDialog use wx.DEFAULT_DIALOG_STYLE as the default
style. I'll add those to my list of things I just don't get
about wxWidgets... :)
--
Grant Edwards
grante@[...].com
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Thread:
Grant Edwards
Robin Dunn
|