Centering a wxFileDialog?

Randy Burgess wrote:

Working with wxPython for the first time, and running into a small

problem

that seems like it should be simple to fix. [...]

dialog.CentreOnScreen()
Bye,
Alberto

This doesn't do it either. I'm wondering if the Centre and CentreOnScreen
methods don't work for Windows? There is some hint of that in the wxWindows
documentation.

wxFileDIalog is not a true wxDialog, but just a wrapper around the windows API that creates and shows the system dialog, so most of the wxWindow methods will have no effect on it.

ยทยทยท

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

wxFileDIalog is not a true wxDialog, but just a wrapper around the
windows API that creates and shows the system dialog, so most of the
wxWindow methods will have no effect on it.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

I guess somewhere I knew that. It's interesting that the Win32 extension set
for Python also wraps the windows API (I believe), but centers this very
same dialog by default ... oh well.