]> git.sesse.net Git - vlc/commitdiff
Put the full path in wizard output option (Closes:#392)
authorClément Stenac <zorglub@videolan.org>
Sun, 23 Oct 2005 09:00:08 +0000 (09:00 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 23 Oct 2005 09:00:08 +0000 (09:00 +0000)
modules/gui/wxwidgets/wizard.cpp

index bf4fc206541d892172a7e71fcae43a8e7d8799bb..1ce6e0174ae0ecbc5ccc952bfa281199019f7276 100644 (file)
@@ -1274,14 +1274,14 @@ wizTranscodeExtraPage::wizTranscodeExtraPage( wxWizard *parent,
 
 void wizTranscodeExtraPage::OnSelectFile( wxCommandEvent &event)
 {
-    wxFileDialog *file_dialog =  new wxFileDialog( this, wxU(_("Open File")),
+    wxFileDialog *file_dialog =  new wxFileDialog( this, wxU(_("Save to file")),
                    wxT(""), wxT(""), wxT("*"), wxSAVE );
 
     if( file_dialog && file_dialog->ShowModal() == wxID_OK )
     {
         if( file_dialog->GetFilename().mb_str() )
         {
-            file_text->SetValue( file_dialog->GetFilename() );
+            file_text->SetValue( file_dialog->GetPath() );
         }
     }
 }