If it did, how could you unset a default style? Such is the problem with bitmasks. The individual bits aren't tri-valued (i.e. true, false, and null). They are bi-valued (true, false), and thus there is no way to specify null, which means the constructor can only assume that the unset bits are intended to be false since the alternative would prevent overriding a default-true bit with a false value.
Toby Ovod-Everett AT&T Alaska Information Services 907.264.7620 This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. -----Original Message----- From: Mark Dootson [mailto:mark.doot...@znix.com] Sent: Tuesday, June 07, 2011 8:38 AM To: Octavian Rasnita Cc: wxperl-users@perl.org Subject: Re: What good is a Wx::Panel? Hi, On 07/06/2011 17:03, Octavian Rasnita wrote: > If I use another style in the constructor, which is not set by default, are > the default styles still used if they are not explicitly used? No. Regards Mark