]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/life.cpp
fix the tests to pass with both gcc and msvc (2nd part of patch 1462778)
[wxWidgets.git] / demos / life / life.cpp
index dc1ca609fa925072dbac777ea2ae9c45323d4139..7f641ee1958175826460aa13791a0cc74d40cca2 100644 (file)
@@ -456,7 +456,7 @@ void LifeFrame::OnOpen(wxCommandEvent& WXUNUSED(event))
                          wxEmptyString,
                          wxEmptyString,
                          _("Life patterns (*.lif)|*.lif|All files (*.*)|*.*"),
                          wxEmptyString,
                          wxEmptyString,
                          _("Life patterns (*.lif)|*.lif|All files (*.*)|*.*"),
-                         wxOPEN | wxFILE_MUST_EXIST);
+                         wxFD_OPEN | wxFD_FILE_MUST_EXIST);
 
     if (filedlg.ShowModal() == wxID_OK)
     {
 
     if (filedlg.ShowModal() == wxID_OK)
     {