test centering file dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f0cf38b706
commit
3b6c3fc8c5
1 changed files with 1 additions and 0 deletions
|
|
@ -682,6 +682,7 @@ void MyFrame::FileOpen(wxCommandEvent& WXUNUSED(event) )
|
|||
);
|
||||
|
||||
dialog.SetDirectory(wxGetHomeDir());
|
||||
dialog.CentreOnParent();
|
||||
|
||||
if (dialog.ShowModal() == wxID_OK)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue