]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/life.cpp
use Windows standard icons instead of our own (patch 443856)
[wxWidgets.git] / demos / life / life.cpp
index f4f80eac16a7c683d357cdc1a390543764073a48..0043a399cc99cf43f5bcd02f5e506d764eff7686 100644 (file)
@@ -443,7 +443,7 @@ void LifeFrame::OnOpen(wxCommandEvent& WXUNUSED(event))
 
     if (filedlg.ShowModal() == wxID_OK)
     {
-        wxFileInputStream stream(filedlg.GetFilename());
+        wxFileInputStream stream(filedlg.GetPath());
         LifeReader reader(stream);
 
         // the reader handles errors itself, no need to do anything here