Added wrappers for wx.MediaCtrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-11-24 19:21:30 +00:00
parent 2c25de3ff6
commit 256c055e88
5 changed files with 437 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
## This file reverse renames symbols in the wx package to give
## them their wx prefix again, for backwards compatibility.
##
## Generated by BuildRenamers in config.py
# This silly stuff here is so the wxPython.wx module doesn't conflict
# with the wx package. We need to import modules from the wx package
# here, then we'll put the wxPython.wx entry back in sys.modules.
import sys
_wx = None
if sys.modules.has_key('wxPython.wx'):
_wx = sys.modules['wxPython.wx']
del sys.modules['wxPython.wx']
import wx.media
sys.modules['wxPython.wx'] = _wx
del sys, _wx
# Now assign all the reverse-renamed names:
wxMEDIASTATE_STOPPED = wx.media.MEDIASTATE_STOPPED
wxMEDIASTATE_PAUSED = wx.media.MEDIASTATE_PAUSED
wxMEDIASTATE_PLAYING = wx.media.MEDIASTATE_PLAYING
wxMEDIATIMEFORMAT_TIME = wx.media.MEDIATIMEFORMAT_TIME
wxMEDIABACKEND_DIRECTSHOW = wx.media.MEDIABACKEND_DIRECTSHOW
wxMEDIABACKEND_MCI = wx.media.MEDIABACKEND_MCI
wxMEDIABACKEND_QUICKTIME = wx.media.MEDIABACKEND_QUICKTIME
wxMediaEvent = wx.media.MediaEvent
wxMediaEventPtr = wx.media.MediaEventPtr
wxMediaCtrlNameStr = wx.media.MediaCtrlNameStr
wxMediaCtrl = wx.media.MediaCtrl
wxMediaCtrlPtr = wx.media.MediaCtrlPtr
wxPreMediaCtrl = wx.media.PreMediaCtrl
wxMediaCtrlFromURI = wx.media.MediaCtrlFromURI
wxEVT_MEDIA_FINISHED = wx.media.wxEVT_MEDIA_FINISHED
wxEVT_MEDIA_STOP = wx.media.wxEVT_MEDIA_STOP