]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing default location for cocoa, see #10361
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 10 Jan 2009 19:01:00 +0000 (19:01 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 10 Jan 2009 19:01:00 +0000 (19:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/filedlg.mm

index 6d13927ecf8c12ce88461040aed986984534c105..c212ecea36b3046b63079136db86e3f146aabd78 100644 (file)
@@ -140,7 +140,7 @@ int wxFileDialog::ShowModal()
 
     wxCFStringRef cf( m_message );
 
-    wxCFStringRef dir( m_path );
+    wxCFStringRef dir( m_dir );
     wxCFStringRef file( m_fileName );
 
     m_path = wxEmptyString;