1 ## This file reverse renames symbols in the wx package to give
2 ## them their wx prefix again, for backwards compatibility.
4 ## Generated by BuildRenamers in config.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 wxCalendarEvent
= wx
.calendar
.CalendarEvent
40 wxEVT_CALENDAR_DOUBLECLICKED
= wx
.calendar
.wxEVT_CALENDAR_DOUBLECLICKED
41 wxEVT_CALENDAR_SEL_CHANGED
= wx
.calendar
.wxEVT_CALENDAR_SEL_CHANGED
42 wxEVT_CALENDAR_DAY_CHANGED
= wx
.calendar
.wxEVT_CALENDAR_DAY_CHANGED
43 wxEVT_CALENDAR_MONTH_CHANGED
= wx
.calendar
.wxEVT_CALENDAR_MONTH_CHANGED
44 wxEVT_CALENDAR_YEAR_CHANGED
= wx
.calendar
.wxEVT_CALENDAR_YEAR_CHANGED
45 wxEVT_CALENDAR_WEEKDAY_CLICKED
= wx
.calendar
.wxEVT_CALENDAR_WEEKDAY_CLICKED
46 wxCalendarNameStr
= wx
.calendar
.CalendarNameStr
47 wxCalendarCtrl
= wx
.calendar
.CalendarCtrl
48 wxPreCalendarCtrl
= wx
.calendar
.PreCalendarCtrl
49 wxCalendarCtrl_GetClassDefaultAttributes
= wx
.calendar
.CalendarCtrl_GetClassDefaultAttributes
53 for k
, v
in wx
.calendar
.__dict
__.iteritems():
54 if k
.startswith('EVT'):