/usr/lib/python2.7/dist-packages/wx-2.6-gtk2-unicode/wxPython/gizmos.py is in python-wxgtk2.6 2.6.3.2.2-5ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | ## 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.gizmos
sys.modules['wxPython.wx'] = _wx
del sys, _wx
# Now assign all the reverse-renamed names:
wxDynamicSashNameStr = wx.gizmos.DynamicSashNameStr
wxEditableListBoxNameStr = wx.gizmos.EditableListBoxNameStr
wxTreeListCtrlNameStr = wx.gizmos.TreeListCtrlNameStr
wxStaticPictureNameStr = wx.gizmos.StaticPictureNameStr
wxDS_MANAGE_SCROLLBARS = wx.gizmos.DS_MANAGE_SCROLLBARS
wxDS_DRAG_CORNER = wx.gizmos.DS_DRAG_CORNER
wxEVT_DYNAMIC_SASH_SPLIT = wx.gizmos.wxEVT_DYNAMIC_SASH_SPLIT
wxEVT_DYNAMIC_SASH_UNIFY = wx.gizmos.wxEVT_DYNAMIC_SASH_UNIFY
wxDynamicSashSplitEvent = wx.gizmos.DynamicSashSplitEvent
wxDynamicSashSplitEventPtr = wx.gizmos.DynamicSashSplitEventPtr
wxDynamicSashUnifyEvent = wx.gizmos.DynamicSashUnifyEvent
wxDynamicSashUnifyEventPtr = wx.gizmos.DynamicSashUnifyEventPtr
wxDynamicSashWindow = wx.gizmos.DynamicSashWindow
wxDynamicSashWindowPtr = wx.gizmos.DynamicSashWindowPtr
wxPreDynamicSashWindow = wx.gizmos.PreDynamicSashWindow
wxEL_ALLOW_NEW = wx.gizmos.EL_ALLOW_NEW
wxEL_ALLOW_EDIT = wx.gizmos.EL_ALLOW_EDIT
wxEL_ALLOW_DELETE = wx.gizmos.EL_ALLOW_DELETE
wxEditableListBox = wx.gizmos.EditableListBox
wxEditableListBoxPtr = wx.gizmos.EditableListBoxPtr
wxRemotelyScrolledTreeCtrl = wx.gizmos.RemotelyScrolledTreeCtrl
wxRemotelyScrolledTreeCtrlPtr = wx.gizmos.RemotelyScrolledTreeCtrlPtr
wxTreeCompanionWindow = wx.gizmos.TreeCompanionWindow
wxTreeCompanionWindowPtr = wx.gizmos.TreeCompanionWindowPtr
wxTreeCompanionWindow = wx.gizmos.TreeCompanionWindow
wxThinSplitterWindow = wx.gizmos.ThinSplitterWindow
wxThinSplitterWindowPtr = wx.gizmos.ThinSplitterWindowPtr
wxSplitterScrolledWindow = wx.gizmos.SplitterScrolledWindow
wxSplitterScrolledWindowPtr = wx.gizmos.SplitterScrolledWindowPtr
wxLED_ALIGN_LEFT = wx.gizmos.LED_ALIGN_LEFT
wxLED_ALIGN_RIGHT = wx.gizmos.LED_ALIGN_RIGHT
wxLED_ALIGN_CENTER = wx.gizmos.LED_ALIGN_CENTER
wxLED_ALIGN_MASK = wx.gizmos.LED_ALIGN_MASK
wxLED_DRAW_FADED = wx.gizmos.LED_DRAW_FADED
wxLEDNumberCtrl = wx.gizmos.LEDNumberCtrl
wxLEDNumberCtrlPtr = wx.gizmos.LEDNumberCtrlPtr
wxPreLEDNumberCtrl = wx.gizmos.PreLEDNumberCtrl
wxTL_ALIGN_LEFT = wx.gizmos.TL_ALIGN_LEFT
wxTL_ALIGN_RIGHT = wx.gizmos.TL_ALIGN_RIGHT
wxTL_ALIGN_CENTER = wx.gizmos.TL_ALIGN_CENTER
wxTREE_HITTEST_ONITEMCOLUMN = wx.gizmos.TREE_HITTEST_ONITEMCOLUMN
wxTL_SEARCH_VISIBLE = wx.gizmos.TL_SEARCH_VISIBLE
wxTL_SEARCH_LEVEL = wx.gizmos.TL_SEARCH_LEVEL
wxTL_SEARCH_FULL = wx.gizmos.TL_SEARCH_FULL
wxTL_SEARCH_PARTIAL = wx.gizmos.TL_SEARCH_PARTIAL
wxTL_SEARCH_NOCASE = wx.gizmos.TL_SEARCH_NOCASE
wxTR_DONT_ADJUST_MAC = wx.gizmos.TR_DONT_ADJUST_MAC
wxTreeListColumnInfo = wx.gizmos.TreeListColumnInfo
wxTreeListColumnInfoPtr = wx.gizmos.TreeListColumnInfoPtr
wxTreeListCtrl = wx.gizmos.TreeListCtrl
wxTreeListCtrlPtr = wx.gizmos.TreeListCtrlPtr
wxTreeListCtrl = wx.gizmos.TreeListCtrl
wxPreTreeListCtrl = wx.gizmos.PreTreeListCtrl
wxSCALE_HORIZONTAL = wx.gizmos.SCALE_HORIZONTAL
wxSCALE_VERTICAL = wx.gizmos.SCALE_VERTICAL
wxSCALE_UNIFORM = wx.gizmos.SCALE_UNIFORM
wxSCALE_CUSTOM = wx.gizmos.SCALE_CUSTOM
wxStaticPicture = wx.gizmos.StaticPicture
wxStaticPicturePtr = wx.gizmos.StaticPicturePtr
wxPreStaticPicture = wx.gizmos.PreStaticPicture
d = globals()
for k, v in wx.gizmos.__dict__.iteritems():
if k.startswith('EVT'):
d[k] = v
del d, k, v
|