6cfc5ebfa7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
47 lines
1.8 KiB
Python
47 lines
1.8 KiB
Python
## 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
|
|
wxMEDIACTRLPLAYERCONTROLS_NONE = wx.media.MEDIACTRLPLAYERCONTROLS_NONE
|
|
wxMEDIACTRLPLAYERCONTROLS_STEP = wx.media.MEDIACTRLPLAYERCONTROLS_STEP
|
|
wxMEDIACTRLPLAYERCONTROLS_VOLUME = wx.media.MEDIACTRLPLAYERCONTROLS_VOLUME
|
|
wxMEDIACTRLPLAYERCONTROLS_DEFAULT = wx.media.MEDIACTRLPLAYERCONTROLS_DEFAULT
|
|
wxMEDIABACKEND_DIRECTSHOW = wx.media.MEDIABACKEND_DIRECTSHOW
|
|
wxMEDIABACKEND_MCI = wx.media.MEDIABACKEND_MCI
|
|
wxMEDIABACKEND_QUICKTIME = wx.media.MEDIABACKEND_QUICKTIME
|
|
wxMEDIABACKEND_GSTREAMER = wx.media.MEDIABACKEND_GSTREAMER
|
|
wxMEDIABACKEND_REALPLAYER = wx.media.MEDIABACKEND_REALPLAYER
|
|
wxMEDIABACKEND_WMP10 = wx.media.MEDIABACKEND_WMP10
|
|
wxMediaEvent = wx.media.MediaEvent
|
|
wxMediaCtrlNameStr = wx.media.MediaCtrlNameStr
|
|
wxMediaCtrl = wx.media.MediaCtrl
|
|
wxPreMediaCtrl = wx.media.PreMediaCtrl
|
|
wxEVT_MEDIA_FINISHED = wx.media.wxEVT_MEDIA_FINISHED
|
|
wxEVT_MEDIA_STOP = wx.media.wxEVT_MEDIA_STOP
|
|
wxEVT_MEDIA_LOADED = wx.media.wxEVT_MEDIA_LOADED
|
|
wxEVT_MEDIA_STATECHANGED = wx.media.wxEVT_MEDIA_STATECHANGED
|
|
wxEVT_MEDIA_PLAY = wx.media.wxEVT_MEDIA_PLAY
|
|
wxEVT_MEDIA_PAUSE = wx.media.wxEVT_MEDIA_PAUSE
|
|
|
|
|