#ifndef WX_PRECOMP
#include <wx/stream.h>
#include <wx/wfstream.h>
+#include <wx/intl.h>
#endif
#include "wx/mmedia/vidbase.h"
m_video_output = NULL;
}
-wxVideoBaseDriver::wxVideoBaseDriver(wxInputStream& str)
+wxVideoBaseDriver::wxVideoBaseDriver(wxInputStream& WXUNUSED(str))
{
m_video_output = NULL;
}
-wxVideoBaseDriver::wxVideoBaseDriver(const wxString& filename)
+wxVideoBaseDriver::wxVideoBaseDriver(const wxString& WXUNUSED(filename))
{
m_video_output = NULL;
}
bool wxVideoBaseDriver::AttachOutput(wxWindow& output)
{
m_video_output = &output;
- return TRUE;
+ return true;
}
void wxVideoBaseDriver::DetachOutput()
wxFrame *wxVideoCreateFrame(wxVideoBaseDriver *vid_drv)
{
- 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));
+ wxFrame *frame = new wxFrame(NULL, wxID_ANY, _("Video Output"), wxDefaultPosition, wxSize(100, 100));
+ wxWindow *vid_out = new wxWindow(frame, wxID_ANY, wxPoint(0, 0), wxSize(300, 300));
frame->Layout();
- frame->Show(TRUE);
+ frame->Show(true);
vid_drv->AttachOutput(*vid_out);
vid_drv->Play();