ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxPython-users
wxPython-users
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved