Hi Robin,
[Robin]: It works fine here. I looked back at your original message and see
you are using wxPython 2.6.3.3. Please try upgrading to a recent 2.8 build.
I'll try with wxPython 2.8.
Thanks a million!
Best regards,
Tai Tran
···
-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Friday, February 29, 2008 3:43 AM
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] Cannot close a dialog on Linux with
wx.WS_EX_VALIDATE_RECURSIVELY
Tai Tran Tan wrote:
Hi Robin,
[Robin]: How are you setting the style? Are you doing anything that would
clear the default wx.CLOSE_BOX style?I did not set any style to my testing dialog.
Ok, I just wanted to make sure that you didn't try to use an extra style
flag to set the main style property.
The attachment including in this email is the source code for my testing
dialog. Actually, it is the validator example dialog that I take from your
eBook "wxPython in Action". The only thing that I've changed to this
dialog
is adding the wx.WS_EX_VALIDATE_RECURSIVELY style through the function
SetExtraStyle(wx.WS_EX_VALIDATE_RECURSIVELY). This change makes the dialog
cannot be closed on Red Hat Linux with the (X) button. Please note that I
don't have this problem on Windows XP.
It works fine here. I looked back at your original message and see you
are using wxPython 2.6.3.3. Please try upgrading to a recent 2.8 build.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org