[wxPython] wxMessageDialog default button

I have a problem with setting the default button of wxMessageDialog.
When i create a new wxMessageDialog with style=wxYES_NO|wxNO_DEFAULT, the default button is stil the 'Yes' button.

In fact, when I use the wxNO_DEFAULT style flag, the dialog is displayed with 'No' button as default, but immediately it is switched so that 'Yes' button gets default. It is hard to discern this, because it lasts only a fraction of second...

This might rather be sent as a bug report, but I would like to know, if someone else has dealt this problem beforehand.

I use wxGTK 2.2 and Python 2.1.

thank you, Tomas Cerha

···

--
PGP keyID: 0x0C441CA3
work phone: +420 2 24917311 (l. 33)

--

Intellectual property has been driving the species for some five million
years. In the past 100 or so years, it's increasingly been saddled with
the chore of lining the pockets of middlemen and parasites who, sans
this lining, would lack sufficient intellect to open a can of beer.

                                                   - Tom Matrullo

This might rather be sent as a bug report, but I would like to know, if
someone else has dealt this problem beforehand.

Yes, please submit a bug.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!