#! /bin/sh /usr/share/dpatch/dpatch-run ## 020_wx26_trans_ffmpeg.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' jugglemaster-0.4~/src/jmdlx/print.cpp jugglemaster-0.4/src/jmdlx/print.cpp --- jugglemaster-0.4~/src/jmdlx/print.cpp 2010-09-23 08:48:06.000000000 -0300 +++ jugglemaster-0.4/src/jmdlx/print.cpp 2010-09-23 08:52:16.000000000 -0300 @@ -68,7 +68,7 @@ #ifdef HAVE_AVCODEC_H output_type->Append("MPEG"); - output_type->SetStringSelection("MPEG"); + output_type->SetStringSelection(wxT("MPEG")); #endif typesizer->Add(new wxStaticText(this, 0, "Output Type"), @@ -535,13 +535,13 @@ wxMemoryDC dc; struct ball firstpos[BMAX]; - wxProgressDialog progress("Progress","Creating MPEG", + wxProgressDialog progress(wxT("Progress"),wxT("Creating MPEG"), max_iterations->GetValue(), this, wxPD_APP_MODAL|wxPD_CAN_ABORT); int current_frames = 0; int done = 0; - outputfile = fopen((const char *)filename->GetValue(),"w"); + outputfile = fopen((const char *)filename->GetValue().mb_str(wxConvUTF8),"w"); if(outputfile == NULL) return 1; avcodec_init();