]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/media.py
Forward port recent changes on the 2.8 branch to HEAD
[wxWidgets.git] / wxPython / wxPython / media.py
1 ## This file reverse renames symbols in the wx package to give
2 ## them their wx prefix again, for backwards compatibility.
3 ##
4 ## Generated by BuildRenamers in config.py
5
6 # This silly stuff here is so the wxPython.wx module doesn't conflict
7 # with the wx package. We need to import modules from the wx package
8 # here, then we'll put the wxPython.wx entry back in sys.modules.
9 import sys
10 _wx = None
11 if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15 import wx.media
16
17 sys.modules['wxPython.wx'] = _wx
18 del sys, _wx
19
20
21 # Now assign all the reverse-renamed names:
22 wxMEDIASTATE_STOPPED = wx.media.MEDIASTATE_STOPPED
23 wxMEDIASTATE_PAUSED = wx.media.MEDIASTATE_PAUSED
24 wxMEDIASTATE_PLAYING = wx.media.MEDIASTATE_PLAYING
25 wxMEDIACTRLPLAYERCONTROLS_NONE = wx.media.MEDIACTRLPLAYERCONTROLS_NONE
26 wxMEDIACTRLPLAYERCONTROLS_STEP = wx.media.MEDIACTRLPLAYERCONTROLS_STEP
27 wxMEDIACTRLPLAYERCONTROLS_VOLUME = wx.media.MEDIACTRLPLAYERCONTROLS_VOLUME
28 wxMEDIACTRLPLAYERCONTROLS_DEFAULT = wx.media.MEDIACTRLPLAYERCONTROLS_DEFAULT
29 wxMEDIABACKEND_DIRECTSHOW = wx.media.MEDIABACKEND_DIRECTSHOW
30 wxMEDIABACKEND_MCI = wx.media.MEDIABACKEND_MCI
31 wxMEDIABACKEND_QUICKTIME = wx.media.MEDIABACKEND_QUICKTIME
32 wxMEDIABACKEND_GSTREAMER = wx.media.MEDIABACKEND_GSTREAMER
33 wxMEDIABACKEND_REALPLAYER = wx.media.MEDIABACKEND_REALPLAYER
34 wxMEDIABACKEND_WMP10 = wx.media.MEDIABACKEND_WMP10
35 wxMediaEvent = wx.media.MediaEvent
36 wxMediaCtrlNameStr = wx.media.MediaCtrlNameStr
37 wxMediaCtrl = wx.media.MediaCtrl
38 wxPreMediaCtrl = wx.media.PreMediaCtrl
39 wxEVT_MEDIA_FINISHED = wx.media.wxEVT_MEDIA_FINISHED
40 wxEVT_MEDIA_STOP = wx.media.wxEVT_MEDIA_STOP
41 wxEVT_MEDIA_LOADED = wx.media.wxEVT_MEDIA_LOADED
42 wxEVT_MEDIA_STATECHANGED = wx.media.wxEVT_MEDIA_STATECHANGED
43 wxEVT_MEDIA_PLAY = wx.media.wxEVT_MEDIA_PLAY
44 wxEVT_MEDIA_PAUSE = wx.media.wxEVT_MEDIA_PAUSE
45
46