1 ## This file reverse renames symbols in the wx package to give
2 ## them their wx prefix again, for backwards compatibility.
4 ## Generated by ./distrib/build_renamers.py
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.
11 if sys
.modules
.has_key('wxPython.wx'):
12 _wx
= sys
.modules
['wxPython.wx']
13 del sys
.modules
['wxPython.wx']
17 sys
.modules
['wxPython.wx'] = _wx
21 # Now assign all the reverse-renamed names:
22 wxCAL_SUNDAY_FIRST
= wx
.calendar
.CAL_SUNDAY_FIRST
23 wxCAL_MONDAY_FIRST
= wx
.calendar
.CAL_MONDAY_FIRST
24 wxCAL_SHOW_HOLIDAYS
= wx
.calendar
.CAL_SHOW_HOLIDAYS
25 wxCAL_NO_YEAR_CHANGE
= wx
.calendar
.CAL_NO_YEAR_CHANGE
26 wxCAL_NO_MONTH_CHANGE
= wx
.calendar
.CAL_NO_MONTH_CHANGE
27 wxCAL_SEQUENTIAL_MONTH_SELECTION
= wx
.calendar
.CAL_SEQUENTIAL_MONTH_SELECTION
28 wxCAL_SHOW_SURROUNDING_WEEKS
= wx
.calendar
.CAL_SHOW_SURROUNDING_WEEKS
29 wxCAL_HITTEST_NOWHERE
= wx
.calendar
.CAL_HITTEST_NOWHERE
30 wxCAL_HITTEST_HEADER
= wx
.calendar
.CAL_HITTEST_HEADER
31 wxCAL_HITTEST_DAY
= wx
.calendar
.CAL_HITTEST_DAY
32 wxCAL_HITTEST_INCMONTH
= wx
.calendar
.CAL_HITTEST_INCMONTH
33 wxCAL_HITTEST_DECMONTH
= wx
.calendar
.CAL_HITTEST_DECMONTH
34 wxCAL_HITTEST_SURROUNDING_WEEK
= wx
.calendar
.CAL_HITTEST_SURROUNDING_WEEK
35 wxCAL_BORDER_NONE
= wx
.calendar
.CAL_BORDER_NONE
36 wxCAL_BORDER_SQUARE
= wx
.calendar
.CAL_BORDER_SQUARE
37 wxCAL_BORDER_ROUND
= wx
.calendar
.CAL_BORDER_ROUND
38 wxCalendarDateAttr
= wx
.calendar
.CalendarDateAttr
39 wxCalendarDateAttrPtr
= wx
.calendar
.CalendarDateAttrPtr
40 wxCalendarEvent
= wx
.calendar
.CalendarEvent
41 wxCalendarEventPtr
= wx
.calendar
.CalendarEventPtr
42 wxEVT_CALENDAR_DOUBLECLICKED
= wx
.calendar
.wxEVT_CALENDAR_DOUBLECLICKED
43 wxEVT_CALENDAR_SEL_CHANGED
= wx
.calendar
.wxEVT_CALENDAR_SEL_CHANGED
44 wxEVT_CALENDAR_DAY_CHANGED
= wx
.calendar
.wxEVT_CALENDAR_DAY_CHANGED
45 wxEVT_CALENDAR_MONTH_CHANGED
= wx
.calendar
.wxEVT_CALENDAR_MONTH_CHANGED
46 wxEVT_CALENDAR_YEAR_CHANGED
= wx
.calendar
.wxEVT_CALENDAR_YEAR_CHANGED
47 wxEVT_CALENDAR_WEEKDAY_CLICKED
= wx
.calendar
.wxEVT_CALENDAR_WEEKDAY_CLICKED
48 wxCalendarNameStr
= wx
.calendar
.CalendarNameStr
49 wxCalendarCtrl
= wx
.calendar
.CalendarCtrl
50 wxCalendarCtrlPtr
= wx
.calendar
.CalendarCtrlPtr
51 wxPreCalendarCtrl
= wx
.calendar
.PreCalendarCtrl
52 wxCalendarCtrl_GetClassDefaultAttributes
= wx
.calendar
.CalendarCtrl_GetClassDefaultAttributes
56 for k
, v
in wx
.calendar
.__dict
__.iteritems():
57 if k
.startswith('EVT'):