]> git.sesse.net Git - vlc/commitdiff
* wizard.cpp: compilation fixes
authorAnil Daoud <anil@videolan.org>
Sun, 30 May 2004 16:38:44 +0000 (16:38 +0000)
committerAnil Daoud <anil@videolan.org>
Sun, 30 May 2004 16:38:44 +0000 (16:38 +0000)
modules/gui/wxwindows/wizard.cpp

index 6c2f49316c8d88ace3a47243be54d3419bb96f59..a3604ad15114b4d0c47ab7d60eeb16dbe215a3d9 100644 (file)
@@ -1008,7 +1008,7 @@ void wizStreamingMethodPage::OnWizardPageChanging(wxWizardEvent& event)
     if( !event.GetDirection() ) return;
 
     /* Check valid address */
-    if( i_method == 1 && !ismult((char *) address_txtctrl->GetValue().mb_str()) )
+    if( i_method == 1 && !ismult((char *) address_txtctrl->GetValue().c_str()) )
     {
         wxMessageBox( wxU( INVALID_MCAST_ADDRESS ) , wxU( ERROR_MSG ),
                       wxICON_WARNING | wxOK, this->p_parent );
@@ -1033,7 +1033,7 @@ void wizStreamingMethodPage::OnWizardPageChanging(wxWizardEvent& event)
         }
     }
     p_parent->SetStream( methods_array[i_method].psz_access ,
-                         (char *)address_txtctrl->GetValue().mb_str() );
+                         (char *)address_txtctrl->GetValue().c_str() );
 
     /* Set the action for the muxer page */
     ((wizEncapPage*)GetNext())->SetAction( p_parent->GetAction() );
@@ -1181,7 +1181,7 @@ void wizTranscodeExtraPage::OnSelectFile( wxCommandEvent &event)
         if( file_dialog->GetFilename().mb_str() )
         {
             p_parent->SetTranscodeOut( (char*)file_dialog->GetFilename().
-                                                  mb_str() );
+                                                  c_str() );
         }
     }