Default dir for wxFileDialog

Сергей Коныгин <[email protected]> Sun, 18 Jan 2026 10:32:13 -0800 (PST)
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Hi!
My application has many dialog boxes for selecting files. I need each 
window to start from its last opened folder.  Despite all my efforts, I was 
never able to achieve stable operation. Basically, it turns out that the 
last folder is common to all dialog boxes. It seems that the window ignores 
the defaultDir parameter. 
How can I set the starting directory correctly before running wxFileDilaog?

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/631daec9-30b3-4f28-9fe9-31dfdc179c84n%40googlegroups.com.