X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68df211faedeabdf4259858109d1bd7385fdccf5..bacd54f604fe87c622d4ab57070759ad6f1791a7:/demos/life/life.cpp?ds=inline diff --git a/demos/life/life.cpp b/demos/life/life.cpp index dc1ca609fa..7f641ee195 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -456,7 +456,7 @@ void LifeFrame::OnOpen(wxCommandEvent& WXUNUSED(event)) wxEmptyString, wxEmptyString, _("Life patterns (*.lif)|*.lif|All files (*.*)|*.*"), - wxOPEN | wxFILE_MUST_EXIST); + wxFD_OPEN | wxFD_FILE_MUST_EXIST); if (filedlg.ShowModal() == wxID_OK) {