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