]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxPython/media.py
Added support for current version of "emxomf".
[wxWidgets.git] / wxPython / wxPython / media.py
CommitLineData
256c055e
RD
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.
9import sys
10_wx = None
11if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15import wx.media
16
17sys.modules['wxPython.wx'] = _wx
18del sys, _wx
19
20
21# Now assign all the reverse-renamed names:
22wxMEDIASTATE_STOPPED = wx.media.MEDIASTATE_STOPPED
23wxMEDIASTATE_PAUSED = wx.media.MEDIASTATE_PAUSED
24wxMEDIASTATE_PLAYING = wx.media.MEDIASTATE_PLAYING
256c055e
RD
25wxMediaEvent = wx.media.MediaEvent
26wxMediaEventPtr = wx.media.MediaEventPtr
27wxMediaCtrlNameStr = wx.media.MediaCtrlNameStr
28wxMediaCtrl = wx.media.MediaCtrl
29wxMediaCtrlPtr = wx.media.MediaCtrlPtr
30wxPreMediaCtrl = wx.media.PreMediaCtrl
256c055e
RD
31wxEVT_MEDIA_FINISHED = wx.media.wxEVT_MEDIA_FINISHED
32wxEVT_MEDIA_STOP = wx.media.wxEVT_MEDIA_STOP
33
34