- %name(PreMediaCtrl) wxMediaCtrl();
-
- %extend {
- %name(MediaCtrlFromURI)
- wxMediaCtrl(wxWindow* parent,
- wxWindowID id=-1,
- const wxString& location=wxPyEmptyString,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = 0,
- const wxString& szBackend = wxPyEmptyString,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxPyMediaCtrlNameStr)
- {
- return new wxMediaCtrl(parent, id, wxURI(location),
- pos, size, style, szBackend, validator, name);
- }
-
- bool CreateFromURI(wxWindow* parent,
- wxWindowID id=-1,
- const wxString& location=wxPyEmptyString,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = 0,
- const wxString& szBackend = wxPyEmptyString,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxPyMediaCtrlNameStr)
- {
- return self->Create(parent, id, wxURI(location),
- pos, size, style, szBackend, validator, name);
- }
- }
-