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:
@@ -682,6 +682,7 @@ void MyFrame::FileOpen(wxCommandEvent& WXUNUSED(event) )
|
||||
);
|
||||
|
||||
dialog.SetDirectory(wxGetHomeDir());
|
||||
dialog.CentreOnParent();
|
||||
|
||||
if (dialog.ShowModal() == wxID_OK)
|
||||
{
|
||||
|
Reference in New Issue
Block a user