Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -55,7 +55,7 @@ wxSoundAiff::~wxSoundAiff()
|
|||||||
|
|
||||||
wxString wxSoundAiff::GetCodecName() const
|
wxString wxSoundAiff::GetCodecName() const
|
||||||
{
|
{
|
||||||
return "wxSoundAiff codec";
|
return wxT("wxSoundAiff codec");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxSoundAiff::CanRead()
|
bool wxSoundAiff::CanRead()
|
||||||
|
@@ -368,8 +368,7 @@ bool wxSoundStreamMSAdpcm::SetSoundFormat(const wxSoundFormatBase& format)
|
|||||||
adpcm->GetCoefs(m_coefs, ncoefs, coefs_len);
|
adpcm->GetCoefs(m_coefs, ncoefs, coefs_len);
|
||||||
|
|
||||||
if (!ncoefs) {
|
if (!ncoefs) {
|
||||||
wxLogError(__FILE__ ":%d: Number of ADPCM coefficients"
|
wxLogError(wxT("Number of ADPCM coefficients must be non null"));
|
||||||
" must be non null", __LINE__);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include <wx/stream.h>
|
#include <wx/stream.h>
|
||||||
#include <wx/wfstream.h>
|
#include <wx/wfstream.h>
|
||||||
|
#include <wx/intl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/mmedia/vidbase.h"
|
#include "wx/mmedia/vidbase.h"
|
||||||
@@ -61,7 +62,7 @@ void wxVideoBaseDriver::DetachOutput()
|
|||||||
|
|
||||||
wxFrame *wxVideoCreateFrame(wxVideoBaseDriver *vid_drv)
|
wxFrame *wxVideoCreateFrame(wxVideoBaseDriver *vid_drv)
|
||||||
{
|
{
|
||||||
wxFrame *frame = new wxFrame(NULL, -1, "Video Output", wxDefaultPosition, wxSize(100, 100));
|
wxFrame *frame = new wxFrame(NULL, -1, _("Video Output"), wxDefaultPosition, wxSize(100, 100));
|
||||||
wxWindow *vid_out = new wxWindow(frame, -1, wxPoint(0, 0), wxSize(300, 300));
|
wxWindow *vid_out = new wxWindow(frame, -1, wxPoint(0, 0), wxSize(300, 300));
|
||||||
|
|
||||||
frame->Layout();
|
frame->Layout();
|
||||||
|
Reference in New Issue
Block a user