1 # This file was created automatically by SWIG.
16 from stattool
import *
18 from controls
import *
20 from controls2
import *
22 from windows2
import *
25 class wxPyAppPtr(wxEvtHandlerPtr
):
26 def __init__(self
,this
):
30 val
= wxpc
.wxPyApp_GetAppName(self
.this
)
33 val
= wxpc
.wxPyApp_GetAuto3D(self
.this
)
35 def GetClassName(self
):
36 val
= wxpc
.wxPyApp_GetClassName(self
.this
)
38 def GetExitOnFrameDelete(self
):
39 val
= wxpc
.wxPyApp_GetExitOnFrameDelete(self
.this
)
41 def GetPrintMode(self
):
42 val
= wxpc
.wxPyApp_GetPrintMode(self
.this
)
44 def GetTopWindow(self
):
45 val
= wxpc
.wxPyApp_GetTopWindow(self
.this
)
46 val
= wxWindowPtr(val
)
48 def GetVendorName(self
):
49 val
= wxpc
.wxPyApp_GetVendorName(self
.this
)
52 val
= wxpc
.wxPyApp_Dispatch(self
.this
)
54 def ExitMainLoop(self
):
55 val
= wxpc
.wxPyApp_ExitMainLoop(self
.this
)
57 def Initialized(self
):
58 val
= wxpc
.wxPyApp_Initialized(self
.this
)
61 val
= wxpc
.wxPyApp_MainLoop(self
.this
)
64 val
= wxpc
.wxPyApp_Pending(self
.this
)
66 def SetAppName(self
,arg0
):
67 val
= wxpc
.wxPyApp_SetAppName(self
.this
,arg0
)
69 def SetAuto3D(self
,arg0
):
70 val
= wxpc
.wxPyApp_SetAuto3D(self
.this
,arg0
)
72 def SetClassName(self
,arg0
):
73 val
= wxpc
.wxPyApp_SetClassName(self
.this
,arg0
)
75 def SetExitOnFrameDelete(self
,arg0
):
76 val
= wxpc
.wxPyApp_SetExitOnFrameDelete(self
.this
,arg0
)
78 def SetPrintMode(self
,arg0
):
79 val
= wxpc
.wxPyApp_SetPrintMode(self
.this
,arg0
)
81 def SetTopWindow(self
,arg0
):
82 val
= wxpc
.wxPyApp_SetTopWindow(self
.this
,arg0
.this
)
84 def SetVendorName(self
,arg0
):
85 val
= wxpc
.wxPyApp_SetVendorName(self
.this
,arg0
)
87 def AfterMainLoop(self
):
88 val
= wxpc
.wxPyApp_AfterMainLoop(self
.this
)
91 return "<C wxPyApp instance>"
92 class wxPyApp(wxPyAppPtr
):
94 self
.this
= wxpc
.new_wxPyApp()
102 #-------------- FUNCTION WRAPPERS ------------------
104 _wxStart
= wxpc
._wxStart
106 _wxSetDictionary
= wxpc
._wxSetDictionary
110 #-------------- VARIABLE WRAPPERS ------------------
112 wxMAJOR_VERSION
= wxpc
.wxMAJOR_VERSION
113 wxMINOR_VERSION
= wxpc
.wxMINOR_VERSION
114 wxRELEASE_NUMBER
= wxpc
.wxRELEASE_NUMBER
115 NOT_FOUND
= wxpc
.NOT_FOUND
116 wxVSCROLL
= wxpc
.wxVSCROLL
117 wxHSCROLL
= wxpc
.wxHSCROLL
118 wxCAPTION
= wxpc
.wxCAPTION
119 wxDOUBLE_BORDER
= wxpc
.wxDOUBLE_BORDER
120 wxSUNKEN_BORDER
= wxpc
.wxSUNKEN_BORDER
121 wxRAISED_BORDER
= wxpc
.wxRAISED_BORDER
122 wxBORDER
= wxpc
.wxBORDER
123 wxSIMPLE_BORDER
= wxpc
.wxSIMPLE_BORDER
124 wxSTATIC_BORDER
= wxpc
.wxSTATIC_BORDER
125 wxTRANSPARENT_WINDOW
= wxpc
.wxTRANSPARENT_WINDOW
126 wxNO_BORDER
= wxpc
.wxNO_BORDER
127 wxUSER_COLOURS
= wxpc
.wxUSER_COLOURS
128 wxNO_3D
= wxpc
.wxNO_3D
129 wxTAB_TRAVERSAL
= wxpc
.wxTAB_TRAVERSAL
130 wxHORIZONTAL
= wxpc
.wxHORIZONTAL
131 wxVERTICAL
= wxpc
.wxVERTICAL
133 wxCENTER_FRAME
= wxpc
.wxCENTER_FRAME
134 wxSTAY_ON_TOP
= wxpc
.wxSTAY_ON_TOP
135 wxICONIZE
= wxpc
.wxICONIZE
136 wxMINIMIZE
= wxpc
.wxMINIMIZE
137 wxMAXIMIZE
= wxpc
.wxMAXIMIZE
138 wxTHICK_FRAME
= wxpc
.wxTHICK_FRAME
139 wxSYSTEM_MENU
= wxpc
.wxSYSTEM_MENU
140 wxMINIMIZE_BOX
= wxpc
.wxMINIMIZE_BOX
141 wxMAXIMIZE_BOX
= wxpc
.wxMAXIMIZE_BOX
142 wxTINY_CAPTION_HORIZ
= wxpc
.wxTINY_CAPTION_HORIZ
143 wxTINY_CAPTION_VERT
= wxpc
.wxTINY_CAPTION_VERT
144 wxRESIZE_BOX
= wxpc
.wxRESIZE_BOX
145 wxRESIZE_BORDER
= wxpc
.wxRESIZE_BORDER
146 wxDIALOG_MODAL
= wxpc
.wxDIALOG_MODAL
147 wxDIALOG_MODELESS
= wxpc
.wxDIALOG_MODELESS
148 wxDEFAULT_FRAME_STYLE
= wxpc
.wxDEFAULT_FRAME_STYLE
149 wxDEFAULT_DIALOG_STYLE
= wxpc
.wxDEFAULT_DIALOG_STYLE
150 wxRETAINED
= wxpc
.wxRETAINED
151 wxBACKINGSTORE
= wxpc
.wxBACKINGSTORE
152 wxTB_3DBUTTONS
= wxpc
.wxTB_3DBUTTONS
153 wxTB_HORIZONTAL
= wxpc
.wxTB_HORIZONTAL
154 wxTB_VERTICAL
= wxpc
.wxTB_VERTICAL
155 wxTB_FLAT
= wxpc
.wxTB_FLAT
156 wxCOLOURED
= wxpc
.wxCOLOURED
157 wxFIXED_LENGTH
= wxpc
.wxFIXED_LENGTH
158 wxALIGN_LEFT
= wxpc
.wxALIGN_LEFT
159 wxALIGN_CENTER
= wxpc
.wxALIGN_CENTER
160 wxALIGN_CENTRE
= wxpc
.wxALIGN_CENTRE
161 wxALIGN_RIGHT
= wxpc
.wxALIGN_RIGHT
162 wxLB_NEEDED_SB
= wxpc
.wxLB_NEEDED_SB
163 wxLB_ALWAYS_SB
= wxpc
.wxLB_ALWAYS_SB
164 wxLB_SORT
= wxpc
.wxLB_SORT
165 wxLB_SINGLE
= wxpc
.wxLB_SINGLE
166 wxLB_MULTIPLE
= wxpc
.wxLB_MULTIPLE
167 wxLB_EXTENDED
= wxpc
.wxLB_EXTENDED
168 wxLB_OWNERDRAW
= wxpc
.wxLB_OWNERDRAW
169 wxLB_HSCROLL
= wxpc
.wxLB_HSCROLL
170 wxPROCESS_ENTER
= wxpc
.wxPROCESS_ENTER
171 wxPASSWORD
= wxpc
.wxPASSWORD
172 wxTE_PROCESS_ENTER
= wxpc
.wxTE_PROCESS_ENTER
173 wxTE_PASSWORD
= wxpc
.wxTE_PASSWORD
174 wxTE_READONLY
= wxpc
.wxTE_READONLY
175 wxTE_MULTILINE
= wxpc
.wxTE_MULTILINE
176 wxCB_SIMPLE
= wxpc
.wxCB_SIMPLE
177 wxCB_DROPDOWN
= wxpc
.wxCB_DROPDOWN
178 wxCB_SORT
= wxpc
.wxCB_SORT
179 wxCB_READONLY
= wxpc
.wxCB_READONLY
180 wxRA_HORIZONTAL
= wxpc
.wxRA_HORIZONTAL
181 wxRA_VERTICAL
= wxpc
.wxRA_VERTICAL
182 wxRB_GROUP
= wxpc
.wxRB_GROUP
183 wxGA_PROGRESSBAR
= wxpc
.wxGA_PROGRESSBAR
184 wxGA_HORIZONTAL
= wxpc
.wxGA_HORIZONTAL
185 wxGA_VERTICAL
= wxpc
.wxGA_VERTICAL
186 wxSL_HORIZONTAL
= wxpc
.wxSL_HORIZONTAL
187 wxSL_VERTICAL
= wxpc
.wxSL_VERTICAL
188 wxSL_AUTOTICKS
= wxpc
.wxSL_AUTOTICKS
189 wxSL_LABELS
= wxpc
.wxSL_LABELS
190 wxSL_LEFT
= wxpc
.wxSL_LEFT
191 wxSL_TOP
= wxpc
.wxSL_TOP
192 wxSL_RIGHT
= wxpc
.wxSL_RIGHT
193 wxSL_BOTTOM
= wxpc
.wxSL_BOTTOM
194 wxSL_BOTH
= wxpc
.wxSL_BOTH
195 wxSL_SELRANGE
= wxpc
.wxSL_SELRANGE
196 wxSB_HORIZONTAL
= wxpc
.wxSB_HORIZONTAL
197 wxSB_VERTICAL
= wxpc
.wxSB_VERTICAL
198 wxBU_AUTODRAW
= wxpc
.wxBU_AUTODRAW
199 wxBU_NOAUTODRAW
= wxpc
.wxBU_NOAUTODRAW
200 wxTR_HAS_BUTTONS
= wxpc
.wxTR_HAS_BUTTONS
201 wxTR_EDIT_LABELS
= wxpc
.wxTR_EDIT_LABELS
202 wxTR_LINES_AT_ROOT
= wxpc
.wxTR_LINES_AT_ROOT
203 wxLC_ICON
= wxpc
.wxLC_ICON
204 wxLC_SMALL_ICON
= wxpc
.wxLC_SMALL_ICON
205 wxLC_LIST
= wxpc
.wxLC_LIST
206 wxLC_REPORT
= wxpc
.wxLC_REPORT
207 wxLC_ALIGN_TOP
= wxpc
.wxLC_ALIGN_TOP
208 wxLC_ALIGN_LEFT
= wxpc
.wxLC_ALIGN_LEFT
209 wxLC_AUTOARRANGE
= wxpc
.wxLC_AUTOARRANGE
210 wxLC_USER_TEXT
= wxpc
.wxLC_USER_TEXT
211 wxLC_EDIT_LABELS
= wxpc
.wxLC_EDIT_LABELS
212 wxLC_NO_HEADER
= wxpc
.wxLC_NO_HEADER
213 wxLC_NO_SORT_HEADER
= wxpc
.wxLC_NO_SORT_HEADER
214 wxLC_SINGLE_SEL
= wxpc
.wxLC_SINGLE_SEL
215 wxLC_SORT_ASCENDING
= wxpc
.wxLC_SORT_ASCENDING
216 wxLC_SORT_DESCENDING
= wxpc
.wxLC_SORT_DESCENDING
217 wxLC_MASK_TYPE
= wxpc
.wxLC_MASK_TYPE
218 wxLC_MASK_ALIGN
= wxpc
.wxLC_MASK_ALIGN
219 wxLC_MASK_SORT
= wxpc
.wxLC_MASK_SORT
220 wxSP_VERTICAL
= wxpc
.wxSP_VERTICAL
221 wxSP_HORIZONTAL
= wxpc
.wxSP_HORIZONTAL
222 wxSP_ARROW_KEYS
= wxpc
.wxSP_ARROW_KEYS
223 wxSP_WRAP
= wxpc
.wxSP_WRAP
224 wxSP_NOBORDER
= wxpc
.wxSP_NOBORDER
225 wxSP_3D
= wxpc
.wxSP_3D
226 wxSP_BORDER
= wxpc
.wxSP_BORDER
227 wxTAB_MULTILINE
= wxpc
.wxTAB_MULTILINE
228 wxTAB_RIGHTJUSTIFY
= wxpc
.wxTAB_RIGHTJUSTIFY
229 wxTAB_FIXEDWIDTH
= wxpc
.wxTAB_FIXEDWIDTH
230 wxTAB_OWNERDRAW
= wxpc
.wxTAB_OWNERDRAW
231 wxFLOOD_SURFACE
= wxpc
.wxFLOOD_SURFACE
232 wxFLOOD_BORDER
= wxpc
.wxFLOOD_BORDER
233 wxODDEVEN_RULE
= wxpc
.wxODDEVEN_RULE
234 wxWINDING_RULE
= wxpc
.wxWINDING_RULE
235 wxTOOL_TOP
= wxpc
.wxTOOL_TOP
236 wxTOOL_BOTTOM
= wxpc
.wxTOOL_BOTTOM
237 wxTOOL_LEFT
= wxpc
.wxTOOL_LEFT
238 wxTOOL_RIGHT
= wxpc
.wxTOOL_RIGHT
240 wxYES_NO
= wxpc
.wxYES_NO
241 wxCANCEL
= wxpc
.wxCANCEL
244 wxICON_EXCLAMATION
= wxpc
.wxICON_EXCLAMATION
245 wxICON_HAND
= wxpc
.wxICON_HAND
246 wxICON_QUESTION
= wxpc
.wxICON_QUESTION
247 wxICON_INFORMATION
= wxpc
.wxICON_INFORMATION
248 wxICON_STOP
= wxpc
.wxICON_STOP
249 wxICON_ASTERISK
= wxpc
.wxICON_ASTERISK
250 wxICON_MASK
= wxpc
.wxICON_MASK
251 wxCENTRE
= wxpc
.wxCENTRE
252 wxCENTER
= wxpc
.wxCENTER
253 wxSIZE_AUTO_WIDTH
= wxpc
.wxSIZE_AUTO_WIDTH
254 wxSIZE_AUTO_HEIGHT
= wxpc
.wxSIZE_AUTO_HEIGHT
255 wxSIZE_AUTO
= wxpc
.wxSIZE_AUTO
256 wxSIZE_USE_EXISTING
= wxpc
.wxSIZE_USE_EXISTING
257 wxSIZE_ALLOW_MINUS_ONE
= wxpc
.wxSIZE_ALLOW_MINUS_ONE
258 wxDF_TEXT
= wxpc
.wxDF_TEXT
259 wxDF_BITMAP
= wxpc
.wxDF_BITMAP
260 wxDF_METAFILE
= wxpc
.wxDF_METAFILE
261 wxDF_DIB
= wxpc
.wxDF_DIB
262 wxDF_OEMTEXT
= wxpc
.wxDF_OEMTEXT
263 wxDF_FILENAME
= wxpc
.wxDF_FILENAME
264 wxPORTRAIT
= wxpc
.wxPORTRAIT
265 wxLANDSCAPE
= wxpc
.wxLANDSCAPE
266 wxID_OPEN
= wxpc
.wxID_OPEN
267 wxID_CLOSE
= wxpc
.wxID_CLOSE
268 wxID_NEW
= wxpc
.wxID_NEW
269 wxID_SAVE
= wxpc
.wxID_SAVE
270 wxID_SAVEAS
= wxpc
.wxID_SAVEAS
271 wxID_REVERT
= wxpc
.wxID_REVERT
272 wxID_EXIT
= wxpc
.wxID_EXIT
273 wxID_UNDO
= wxpc
.wxID_UNDO
274 wxID_REDO
= wxpc
.wxID_REDO
275 wxID_HELP
= wxpc
.wxID_HELP
276 wxID_PRINT
= wxpc
.wxID_PRINT
277 wxID_PRINT_SETUP
= wxpc
.wxID_PRINT_SETUP
278 wxID_PREVIEW
= wxpc
.wxID_PREVIEW
279 wxID_ABOUT
= wxpc
.wxID_ABOUT
280 wxID_HELP_CONTENTS
= wxpc
.wxID_HELP_CONTENTS
281 wxID_HELP_COMMANDS
= wxpc
.wxID_HELP_COMMANDS
282 wxID_HELP_PROCEDURES
= wxpc
.wxID_HELP_PROCEDURES
283 wxID_HELP_CONTEXT
= wxpc
.wxID_HELP_CONTEXT
284 wxID_CUT
= wxpc
.wxID_CUT
285 wxID_COPY
= wxpc
.wxID_COPY
286 wxID_PASTE
= wxpc
.wxID_PASTE
287 wxID_CLEAR
= wxpc
.wxID_CLEAR
288 wxID_FIND
= wxpc
.wxID_FIND
289 wxID_FILE1
= wxpc
.wxID_FILE1
290 wxID_FILE2
= wxpc
.wxID_FILE2
291 wxID_FILE3
= wxpc
.wxID_FILE3
292 wxID_FILE4
= wxpc
.wxID_FILE4
293 wxID_FILE5
= wxpc
.wxID_FILE5
294 wxID_FILE6
= wxpc
.wxID_FILE6
295 wxID_FILE7
= wxpc
.wxID_FILE7
296 wxID_FILE8
= wxpc
.wxID_FILE8
297 wxID_FILE9
= wxpc
.wxID_FILE9
298 wxID_OK
= wxpc
.wxID_OK
299 wxID_CANCEL
= wxpc
.wxID_CANCEL
300 wxID_APPLY
= wxpc
.wxID_APPLY
301 wxID_YES
= wxpc
.wxID_YES
302 wxID_NO
= wxpc
.wxID_NO
303 wxBITMAP_TYPE_BMP
= wxpc
.wxBITMAP_TYPE_BMP
304 wxBITMAP_TYPE_BMP_RESOURCE
= wxpc
.wxBITMAP_TYPE_BMP_RESOURCE
305 wxBITMAP_TYPE_ICO
= wxpc
.wxBITMAP_TYPE_ICO
306 wxBITMAP_TYPE_ICO_RESOURCE
= wxpc
.wxBITMAP_TYPE_ICO_RESOURCE
307 wxBITMAP_TYPE_CUR
= wxpc
.wxBITMAP_TYPE_CUR
308 wxBITMAP_TYPE_CUR_RESOURCE
= wxpc
.wxBITMAP_TYPE_CUR_RESOURCE
309 wxBITMAP_TYPE_XBM
= wxpc
.wxBITMAP_TYPE_XBM
310 wxBITMAP_TYPE_XBM_DATA
= wxpc
.wxBITMAP_TYPE_XBM_DATA
311 wxBITMAP_TYPE_XPM
= wxpc
.wxBITMAP_TYPE_XPM
312 wxBITMAP_TYPE_XPM_DATA
= wxpc
.wxBITMAP_TYPE_XPM_DATA
313 wxBITMAP_TYPE_TIF
= wxpc
.wxBITMAP_TYPE_TIF
314 wxBITMAP_TYPE_TIF_RESOURCE
= wxpc
.wxBITMAP_TYPE_TIF_RESOURCE
315 wxBITMAP_TYPE_GIF
= wxpc
.wxBITMAP_TYPE_GIF
316 wxBITMAP_TYPE_GIF_RESOURCE
= wxpc
.wxBITMAP_TYPE_GIF_RESOURCE
317 wxBITMAP_TYPE_PNG
= wxpc
.wxBITMAP_TYPE_PNG
318 wxBITMAP_TYPE_PNG_RESOURCE
= wxpc
.wxBITMAP_TYPE_PNG_RESOURCE
319 wxBITMAP_TYPE_ANY
= wxpc
.wxBITMAP_TYPE_ANY
320 wxBITMAP_TYPE_RESOURCE
= wxpc
.wxBITMAP_TYPE_RESOURCE
323 wxHIDE_READONLY
= wxpc
.wxHIDE_READONLY
324 wxOVERWRITE_PROMPT
= wxpc
.wxOVERWRITE_PROMPT
325 wxACCEL_ALT
= wxpc
.wxACCEL_ALT
326 wxACCEL_CTRL
= wxpc
.wxACCEL_CTRL
327 wxACCEL_SHIFT
= wxpc
.wxACCEL_SHIFT
328 ERR_PARAM
= wxpc
.ERR_PARAM
329 ERR_NODATA
= wxpc
.ERR_NODATA
330 ERR_CANCEL
= wxpc
.ERR_CANCEL
331 ERR_SUCCESS
= wxpc
.ERR_SUCCESS
332 wxDEFAULT
= wxpc
.wxDEFAULT
333 wxDECORATIVE
= wxpc
.wxDECORATIVE
334 wxROMAN
= wxpc
.wxROMAN
335 wxSCRIPT
= wxpc
.wxSCRIPT
336 wxSWISS
= wxpc
.wxSWISS
337 wxMODERN
= wxpc
.wxMODERN
338 wxTELETYPE
= wxpc
.wxTELETYPE
339 wxVARIABLE
= wxpc
.wxVARIABLE
340 wxFIXED
= wxpc
.wxFIXED
341 wxNORMAL
= wxpc
.wxNORMAL
342 wxLIGHT
= wxpc
.wxLIGHT
344 wxITALIC
= wxpc
.wxITALIC
345 wxSLANT
= wxpc
.wxSLANT
346 wxSOLID
= wxpc
.wxSOLID
348 wxLONG_DASH
= wxpc
.wxLONG_DASH
349 wxSHORT_DASH
= wxpc
.wxSHORT_DASH
350 wxDOT_DASH
= wxpc
.wxDOT_DASH
351 wxUSER_DASH
= wxpc
.wxUSER_DASH
352 wxTRANSPARENT
= wxpc
.wxTRANSPARENT
353 wxSTIPPLE
= wxpc
.wxSTIPPLE
354 wxBDIAGONAL_HATCH
= wxpc
.wxBDIAGONAL_HATCH
355 wxCROSSDIAG_HATCH
= wxpc
.wxCROSSDIAG_HATCH
356 wxFDIAGONAL_HATCH
= wxpc
.wxFDIAGONAL_HATCH
357 wxCROSS_HATCH
= wxpc
.wxCROSS_HATCH
358 wxHORIZONTAL_HATCH
= wxpc
.wxHORIZONTAL_HATCH
359 wxVERTICAL_HATCH
= wxpc
.wxVERTICAL_HATCH
360 wxJOIN_BEVEL
= wxpc
.wxJOIN_BEVEL
361 wxJOIN_MITER
= wxpc
.wxJOIN_MITER
362 wxJOIN_ROUND
= wxpc
.wxJOIN_ROUND
363 wxCAP_ROUND
= wxpc
.wxCAP_ROUND
364 wxCAP_PROJECTING
= wxpc
.wxCAP_PROJECTING
365 wxCAP_BUTT
= wxpc
.wxCAP_BUTT
366 wxCLEAR
= wxpc
.wxCLEAR
368 wxINVERT
= wxpc
.wxINVERT
369 wxOR_REVERSE
= wxpc
.wxOR_REVERSE
370 wxAND_REVERSE
= wxpc
.wxAND_REVERSE
373 wxAND_INVERT
= wxpc
.wxAND_INVERT
374 wxNO_OP
= wxpc
.wxNO_OP
376 wxEQUIV
= wxpc
.wxEQUIV
377 wxSRC_INVERT
= wxpc
.wxSRC_INVERT
378 wxOR_INVERT
= wxpc
.wxOR_INVERT
382 wxSRC_OR
= wxpc
.wxSRC_OR
383 wxSRC_AND
= wxpc
.wxSRC_AND
384 WXK_BACK
= wxpc
.WXK_BACK
385 WXK_TAB
= wxpc
.WXK_TAB
386 WXK_RETURN
= wxpc
.WXK_RETURN
387 WXK_ESCAPE
= wxpc
.WXK_ESCAPE
388 WXK_SPACE
= wxpc
.WXK_SPACE
389 WXK_DELETE
= wxpc
.WXK_DELETE
390 WXK_START
= wxpc
.WXK_START
391 WXK_LBUTTON
= wxpc
.WXK_LBUTTON
392 WXK_RBUTTON
= wxpc
.WXK_RBUTTON
393 WXK_CANCEL
= wxpc
.WXK_CANCEL
394 WXK_MBUTTON
= wxpc
.WXK_MBUTTON
395 WXK_CLEAR
= wxpc
.WXK_CLEAR
396 WXK_SHIFT
= wxpc
.WXK_SHIFT
397 WXK_CONTROL
= wxpc
.WXK_CONTROL
398 WXK_MENU
= wxpc
.WXK_MENU
399 WXK_PAUSE
= wxpc
.WXK_PAUSE
400 WXK_CAPITAL
= wxpc
.WXK_CAPITAL
401 WXK_PRIOR
= wxpc
.WXK_PRIOR
402 WXK_NEXT
= wxpc
.WXK_NEXT
403 WXK_END
= wxpc
.WXK_END
404 WXK_HOME
= wxpc
.WXK_HOME
405 WXK_LEFT
= wxpc
.WXK_LEFT
407 WXK_RIGHT
= wxpc
.WXK_RIGHT
408 WXK_DOWN
= wxpc
.WXK_DOWN
409 WXK_SELECT
= wxpc
.WXK_SELECT
410 WXK_PRINT
= wxpc
.WXK_PRINT
411 WXK_EXECUTE
= wxpc
.WXK_EXECUTE
412 WXK_SNAPSHOT
= wxpc
.WXK_SNAPSHOT
413 WXK_INSERT
= wxpc
.WXK_INSERT
414 WXK_HELP
= wxpc
.WXK_HELP
415 WXK_NUMPAD0
= wxpc
.WXK_NUMPAD0
416 WXK_NUMPAD1
= wxpc
.WXK_NUMPAD1
417 WXK_NUMPAD2
= wxpc
.WXK_NUMPAD2
418 WXK_NUMPAD3
= wxpc
.WXK_NUMPAD3
419 WXK_NUMPAD4
= wxpc
.WXK_NUMPAD4
420 WXK_NUMPAD5
= wxpc
.WXK_NUMPAD5
421 WXK_NUMPAD6
= wxpc
.WXK_NUMPAD6
422 WXK_NUMPAD7
= wxpc
.WXK_NUMPAD7
423 WXK_NUMPAD8
= wxpc
.WXK_NUMPAD8
424 WXK_NUMPAD9
= wxpc
.WXK_NUMPAD9
425 WXK_MULTIPLY
= wxpc
.WXK_MULTIPLY
426 WXK_ADD
= wxpc
.WXK_ADD
427 WXK_SEPARATOR
= wxpc
.WXK_SEPARATOR
428 WXK_SUBTRACT
= wxpc
.WXK_SUBTRACT
429 WXK_DECIMAL
= wxpc
.WXK_DECIMAL
430 WXK_DIVIDE
= wxpc
.WXK_DIVIDE
440 WXK_F10
= wxpc
.WXK_F10
441 WXK_F11
= wxpc
.WXK_F11
442 WXK_F12
= wxpc
.WXK_F12
443 WXK_F13
= wxpc
.WXK_F13
444 WXK_F14
= wxpc
.WXK_F14
445 WXK_F15
= wxpc
.WXK_F15
446 WXK_F16
= wxpc
.WXK_F16
447 WXK_F17
= wxpc
.WXK_F17
448 WXK_F18
= wxpc
.WXK_F18
449 WXK_F19
= wxpc
.WXK_F19
450 WXK_F20
= wxpc
.WXK_F20
451 WXK_F21
= wxpc
.WXK_F21
452 WXK_F22
= wxpc
.WXK_F22
453 WXK_F23
= wxpc
.WXK_F23
454 WXK_F24
= wxpc
.WXK_F24
455 WXK_NUMLOCK
= wxpc
.WXK_NUMLOCK
456 WXK_SCROLL
= wxpc
.WXK_SCROLL
457 WXK_PAGEUP
= wxpc
.WXK_PAGEUP
458 WXK_PAGEDOWN
= wxpc
.WXK_PAGEDOWN
459 wxCURSOR_NONE
= wxpc
.wxCURSOR_NONE
460 wxCURSOR_ARROW
= wxpc
.wxCURSOR_ARROW
461 wxCURSOR_BULLSEYE
= wxpc
.wxCURSOR_BULLSEYE
462 wxCURSOR_CHAR
= wxpc
.wxCURSOR_CHAR
463 wxCURSOR_CROSS
= wxpc
.wxCURSOR_CROSS
464 wxCURSOR_HAND
= wxpc
.wxCURSOR_HAND
465 wxCURSOR_IBEAM
= wxpc
.wxCURSOR_IBEAM
466 wxCURSOR_LEFT_BUTTON
= wxpc
.wxCURSOR_LEFT_BUTTON
467 wxCURSOR_MAGNIFIER
= wxpc
.wxCURSOR_MAGNIFIER
468 wxCURSOR_MIDDLE_BUTTON
= wxpc
.wxCURSOR_MIDDLE_BUTTON
469 wxCURSOR_NO_ENTRY
= wxpc
.wxCURSOR_NO_ENTRY
470 wxCURSOR_PAINT_BRUSH
= wxpc
.wxCURSOR_PAINT_BRUSH
471 wxCURSOR_PENCIL
= wxpc
.wxCURSOR_PENCIL
472 wxCURSOR_POINT_LEFT
= wxpc
.wxCURSOR_POINT_LEFT
473 wxCURSOR_POINT_RIGHT
= wxpc
.wxCURSOR_POINT_RIGHT
474 wxCURSOR_QUESTION_ARROW
= wxpc
.wxCURSOR_QUESTION_ARROW
475 wxCURSOR_RIGHT_BUTTON
= wxpc
.wxCURSOR_RIGHT_BUTTON
476 wxCURSOR_SIZENESW
= wxpc
.wxCURSOR_SIZENESW
477 wxCURSOR_SIZENS
= wxpc
.wxCURSOR_SIZENS
478 wxCURSOR_SIZENWSE
= wxpc
.wxCURSOR_SIZENWSE
479 wxCURSOR_SIZEWE
= wxpc
.wxCURSOR_SIZEWE
480 wxCURSOR_SIZING
= wxpc
.wxCURSOR_SIZING
481 wxCURSOR_SPRAYCAN
= wxpc
.wxCURSOR_SPRAYCAN
482 wxCURSOR_WAIT
= wxpc
.wxCURSOR_WAIT
483 wxCURSOR_WATCH
= wxpc
.wxCURSOR_WATCH
484 wxCURSOR_BLANK
= wxpc
.wxCURSOR_BLANK
489 wxEVT_NULL
= wxpc
.wxEVT_NULL
490 wxEVT_FIRST
= wxpc
.wxEVT_FIRST
491 wxEVT_COMMAND_BUTTON_CLICKED
= wxpc
.wxEVT_COMMAND_BUTTON_CLICKED
492 wxEVT_COMMAND_CHECKBOX_CLICKED
= wxpc
.wxEVT_COMMAND_CHECKBOX_CLICKED
493 wxEVT_COMMAND_CHOICE_SELECTED
= wxpc
.wxEVT_COMMAND_CHOICE_SELECTED
494 wxEVT_COMMAND_LISTBOX_SELECTED
= wxpc
.wxEVT_COMMAND_LISTBOX_SELECTED
495 wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
= wxpc
.wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
496 wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
= wxpc
.wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
497 wxEVT_COMMAND_TEXT_UPDATED
= wxpc
.wxEVT_COMMAND_TEXT_UPDATED
498 wxEVT_COMMAND_TEXT_ENTER
= wxpc
.wxEVT_COMMAND_TEXT_ENTER
499 wxEVT_COMMAND_MENU_SELECTED
= wxpc
.wxEVT_COMMAND_MENU_SELECTED
500 wxEVT_COMMAND_SLIDER_UPDATED
= wxpc
.wxEVT_COMMAND_SLIDER_UPDATED
501 wxEVT_COMMAND_RADIOBOX_SELECTED
= wxpc
.wxEVT_COMMAND_RADIOBOX_SELECTED
502 wxEVT_COMMAND_RADIOBUTTON_SELECTED
= wxpc
.wxEVT_COMMAND_RADIOBUTTON_SELECTED
503 wxEVT_COMMAND_SCROLLBAR_UPDATED
= wxpc
.wxEVT_COMMAND_SCROLLBAR_UPDATED
504 wxEVT_COMMAND_VLBOX_SELECTED
= wxpc
.wxEVT_COMMAND_VLBOX_SELECTED
505 wxEVT_COMMAND_COMBOBOX_SELECTED
= wxpc
.wxEVT_COMMAND_COMBOBOX_SELECTED
506 wxEVT_COMMAND_TOOL_CLICKED
= wxpc
.wxEVT_COMMAND_TOOL_CLICKED
507 wxEVT_COMMAND_TOOL_RCLICKED
= wxpc
.wxEVT_COMMAND_TOOL_RCLICKED
508 wxEVT_COMMAND_TOOL_ENTER
= wxpc
.wxEVT_COMMAND_TOOL_ENTER
509 wxEVT_SET_FOCUS
= wxpc
.wxEVT_SET_FOCUS
510 wxEVT_KILL_FOCUS
= wxpc
.wxEVT_KILL_FOCUS
511 wxEVT_LEFT_DOWN
= wxpc
.wxEVT_LEFT_DOWN
512 wxEVT_LEFT_UP
= wxpc
.wxEVT_LEFT_UP
513 wxEVT_MIDDLE_DOWN
= wxpc
.wxEVT_MIDDLE_DOWN
514 wxEVT_MIDDLE_UP
= wxpc
.wxEVT_MIDDLE_UP
515 wxEVT_RIGHT_DOWN
= wxpc
.wxEVT_RIGHT_DOWN
516 wxEVT_RIGHT_UP
= wxpc
.wxEVT_RIGHT_UP
517 wxEVT_MOTION
= wxpc
.wxEVT_MOTION
518 wxEVT_ENTER_WINDOW
= wxpc
.wxEVT_ENTER_WINDOW
519 wxEVT_LEAVE_WINDOW
= wxpc
.wxEVT_LEAVE_WINDOW
520 wxEVT_LEFT_DCLICK
= wxpc
.wxEVT_LEFT_DCLICK
521 wxEVT_MIDDLE_DCLICK
= wxpc
.wxEVT_MIDDLE_DCLICK
522 wxEVT_RIGHT_DCLICK
= wxpc
.wxEVT_RIGHT_DCLICK
523 wxEVT_NC_LEFT_DOWN
= wxpc
.wxEVT_NC_LEFT_DOWN
524 wxEVT_NC_LEFT_UP
= wxpc
.wxEVT_NC_LEFT_UP
525 wxEVT_NC_MIDDLE_DOWN
= wxpc
.wxEVT_NC_MIDDLE_DOWN
526 wxEVT_NC_MIDDLE_UP
= wxpc
.wxEVT_NC_MIDDLE_UP
527 wxEVT_NC_RIGHT_DOWN
= wxpc
.wxEVT_NC_RIGHT_DOWN
528 wxEVT_NC_RIGHT_UP
= wxpc
.wxEVT_NC_RIGHT_UP
529 wxEVT_NC_MOTION
= wxpc
.wxEVT_NC_MOTION
530 wxEVT_NC_ENTER_WINDOW
= wxpc
.wxEVT_NC_ENTER_WINDOW
531 wxEVT_NC_LEAVE_WINDOW
= wxpc
.wxEVT_NC_LEAVE_WINDOW
532 wxEVT_NC_LEFT_DCLICK
= wxpc
.wxEVT_NC_LEFT_DCLICK
533 wxEVT_NC_MIDDLE_DCLICK
= wxpc
.wxEVT_NC_MIDDLE_DCLICK
534 wxEVT_NC_RIGHT_DCLICK
= wxpc
.wxEVT_NC_RIGHT_DCLICK
535 wxEVT_CHAR
= wxpc
.wxEVT_CHAR
536 wxEVT_SCROLL_TOP
= wxpc
.wxEVT_SCROLL_TOP
537 wxEVT_SCROLL_BOTTOM
= wxpc
.wxEVT_SCROLL_BOTTOM
538 wxEVT_SCROLL_LINEUP
= wxpc
.wxEVT_SCROLL_LINEUP
539 wxEVT_SCROLL_LINEDOWN
= wxpc
.wxEVT_SCROLL_LINEDOWN
540 wxEVT_SCROLL_PAGEUP
= wxpc
.wxEVT_SCROLL_PAGEUP
541 wxEVT_SCROLL_PAGEDOWN
= wxpc
.wxEVT_SCROLL_PAGEDOWN
542 wxEVT_SCROLL_THUMBTRACK
= wxpc
.wxEVT_SCROLL_THUMBTRACK
543 wxEVT_SIZE
= wxpc
.wxEVT_SIZE
544 wxEVT_MOVE
= wxpc
.wxEVT_MOVE
545 wxEVT_CLOSE_WINDOW
= wxpc
.wxEVT_CLOSE_WINDOW
546 wxEVT_END_SESSION
= wxpc
.wxEVT_END_SESSION
547 wxEVT_QUERY_END_SESSION
= wxpc
.wxEVT_QUERY_END_SESSION
548 wxEVT_ACTIVATE_APP
= wxpc
.wxEVT_ACTIVATE_APP
549 wxEVT_POWER
= wxpc
.wxEVT_POWER
550 wxEVT_CHAR_HOOK
= wxpc
.wxEVT_CHAR_HOOK
551 wxEVT_KEY_UP
= wxpc
.wxEVT_KEY_UP
552 wxEVT_ACTIVATE
= wxpc
.wxEVT_ACTIVATE
553 wxEVT_CREATE
= wxpc
.wxEVT_CREATE
554 wxEVT_DESTROY
= wxpc
.wxEVT_DESTROY
555 wxEVT_SHOW
= wxpc
.wxEVT_SHOW
556 wxEVT_ICONIZE
= wxpc
.wxEVT_ICONIZE
557 wxEVT_MAXIMIZE
= wxpc
.wxEVT_MAXIMIZE
558 wxEVT_MOUSE_CAPTURE_CHANGED
= wxpc
.wxEVT_MOUSE_CAPTURE_CHANGED
559 wxEVT_PAINT
= wxpc
.wxEVT_PAINT
560 wxEVT_ERASE_BACKGROUND
= wxpc
.wxEVT_ERASE_BACKGROUND
561 wxEVT_NC_PAINT
= wxpc
.wxEVT_NC_PAINT
562 wxEVT_PAINT_ICON
= wxpc
.wxEVT_PAINT_ICON
563 wxEVT_MENU_CHAR
= wxpc
.wxEVT_MENU_CHAR
564 wxEVT_MENU_INIT
= wxpc
.wxEVT_MENU_INIT
565 wxEVT_MENU_HIGHLIGHT
= wxpc
.wxEVT_MENU_HIGHLIGHT
566 wxEVT_POPUP_MENU_INIT
= wxpc
.wxEVT_POPUP_MENU_INIT
567 wxEVT_CONTEXT_MENU
= wxpc
.wxEVT_CONTEXT_MENU
568 wxEVT_SYS_COLOUR_CHANGED
= wxpc
.wxEVT_SYS_COLOUR_CHANGED
569 wxEVT_SETTING_CHANGED
= wxpc
.wxEVT_SETTING_CHANGED
570 wxEVT_QUERY_NEW_PALETTE
= wxpc
.wxEVT_QUERY_NEW_PALETTE
571 wxEVT_PALETTE_CHANGED
= wxpc
.wxEVT_PALETTE_CHANGED
572 wxEVT_JOY_BUTTON_DOWN
= wxpc
.wxEVT_JOY_BUTTON_DOWN
573 wxEVT_JOY_BUTTON_UP
= wxpc
.wxEVT_JOY_BUTTON_UP
574 wxEVT_JOY_MOVE
= wxpc
.wxEVT_JOY_MOVE
575 wxEVT_JOY_ZMOVE
= wxpc
.wxEVT_JOY_ZMOVE
576 wxEVT_DROP_FILES
= wxpc
.wxEVT_DROP_FILES
577 wxEVT_DRAW_ITEM
= wxpc
.wxEVT_DRAW_ITEM
578 wxEVT_MEASURE_ITEM
= wxpc
.wxEVT_MEASURE_ITEM
579 wxEVT_COMPARE_ITEM
= wxpc
.wxEVT_COMPARE_ITEM
580 wxEVT_INIT_DIALOG
= wxpc
.wxEVT_INIT_DIALOG
581 wxEVT_IDLE
= wxpc
.wxEVT_IDLE
582 wxEVT_UPDATE_UI
= wxpc
.wxEVT_UPDATE_UI
583 wxEVT_COMMAND_LEFT_CLICK
= wxpc
.wxEVT_COMMAND_LEFT_CLICK
584 wxEVT_COMMAND_LEFT_DCLICK
= wxpc
.wxEVT_COMMAND_LEFT_DCLICK
585 wxEVT_COMMAND_RIGHT_CLICK
= wxpc
.wxEVT_COMMAND_RIGHT_CLICK
586 wxEVT_COMMAND_RIGHT_DCLICK
= wxpc
.wxEVT_COMMAND_RIGHT_DCLICK
587 wxEVT_COMMAND_SET_FOCUS
= wxpc
.wxEVT_COMMAND_SET_FOCUS
588 wxEVT_COMMAND_KILL_FOCUS
= wxpc
.wxEVT_COMMAND_KILL_FOCUS
589 wxEVT_COMMAND_ENTER
= wxpc
.wxEVT_COMMAND_ENTER
590 wxEVT_COMMAND_TREE_BEGIN_DRAG
= wxpc
.wxEVT_COMMAND_TREE_BEGIN_DRAG
591 wxEVT_COMMAND_TREE_BEGIN_RDRAG
= wxpc
.wxEVT_COMMAND_TREE_BEGIN_RDRAG
592 wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
= wxpc
.wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
593 wxEVT_COMMAND_TREE_END_LABEL_EDIT
= wxpc
.wxEVT_COMMAND_TREE_END_LABEL_EDIT
594 wxEVT_COMMAND_TREE_DELETE_ITEM
= wxpc
.wxEVT_COMMAND_TREE_DELETE_ITEM
595 wxEVT_COMMAND_TREE_GET_INFO
= wxpc
.wxEVT_COMMAND_TREE_GET_INFO
596 wxEVT_COMMAND_TREE_SET_INFO
= wxpc
.wxEVT_COMMAND_TREE_SET_INFO
597 wxEVT_COMMAND_TREE_ITEM_EXPANDED
= wxpc
.wxEVT_COMMAND_TREE_ITEM_EXPANDED
598 wxEVT_COMMAND_TREE_ITEM_EXPANDING
= wxpc
.wxEVT_COMMAND_TREE_ITEM_EXPANDING
599 wxEVT_COMMAND_TREE_ITEM_COLLAPSED
= wxpc
.wxEVT_COMMAND_TREE_ITEM_COLLAPSED
600 wxEVT_COMMAND_TREE_ITEM_COLLAPSING
= wxpc
.wxEVT_COMMAND_TREE_ITEM_COLLAPSING
601 wxEVT_COMMAND_TREE_SEL_CHANGED
= wxpc
.wxEVT_COMMAND_TREE_SEL_CHANGED
602 wxEVT_COMMAND_TREE_SEL_CHANGING
= wxpc
.wxEVT_COMMAND_TREE_SEL_CHANGING
603 wxEVT_COMMAND_TREE_KEY_DOWN
= wxpc
.wxEVT_COMMAND_TREE_KEY_DOWN
604 wxEVT_COMMAND_LIST_BEGIN_DRAG
= wxpc
.wxEVT_COMMAND_LIST_BEGIN_DRAG
605 wxEVT_COMMAND_LIST_BEGIN_RDRAG
= wxpc
.wxEVT_COMMAND_LIST_BEGIN_RDRAG
606 wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
= wxpc
.wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
607 wxEVT_COMMAND_LIST_END_LABEL_EDIT
= wxpc
.wxEVT_COMMAND_LIST_END_LABEL_EDIT
608 wxEVT_COMMAND_LIST_DELETE_ITEM
= wxpc
.wxEVT_COMMAND_LIST_DELETE_ITEM
609 wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
= wxpc
.wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
610 wxEVT_COMMAND_LIST_GET_INFO
= wxpc
.wxEVT_COMMAND_LIST_GET_INFO
611 wxEVT_COMMAND_LIST_SET_INFO
= wxpc
.wxEVT_COMMAND_LIST_SET_INFO
612 wxEVT_COMMAND_LIST_ITEM_SELECTED
= wxpc
.wxEVT_COMMAND_LIST_ITEM_SELECTED
613 wxEVT_COMMAND_LIST_ITEM_DESELECTED
= wxpc
.wxEVT_COMMAND_LIST_ITEM_DESELECTED
614 wxEVT_COMMAND_LIST_KEY_DOWN
= wxpc
.wxEVT_COMMAND_LIST_KEY_DOWN
615 wxEVT_COMMAND_LIST_INSERT_ITEM
= wxpc
.wxEVT_COMMAND_LIST_INSERT_ITEM
616 wxEVT_COMMAND_LIST_COL_CLICK
= wxpc
.wxEVT_COMMAND_LIST_COL_CLICK
617 wxEVT_COMMAND_TAB_SEL_CHANGED
= wxpc
.wxEVT_COMMAND_TAB_SEL_CHANGED
618 wxEVT_COMMAND_TAB_SEL_CHANGING
= wxpc
.wxEVT_COMMAND_TAB_SEL_CHANGING
619 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
= wxpc
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
620 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
= wxpc
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
621 __version__
= wxpc
.__version
__
623 wxPyDefaultPosition
= wxPointPtr(wxpc
.cvar
.wxPyDefaultPosition
)
624 wxPyDefaultSize
= wxSizePtr(wxpc
.cvar
.wxPyDefaultSize
)
627 #-------------- USER INCLUDE -----------------------
629 #----------------------------------------------------------------------------
631 # Purpose: This file is appended to the shadow class file generated
632 # by SWIG. We add some unSWIGable things here.
638 # Copyright: (c) 1998 by Total Control Software
639 # Licence: wxWindows license
640 #----------------------------------------------------------------------------
644 #----------------------------------------------------------------------
645 # This gives this module's dictionary to the C++ extension code...
647 _wxSetDictionary(vars())
650 #----------------------------------------------------------------------
651 #----------------------------------------------------------------------
652 # Helper function to link python methods to wxWindows virtual
655 def _checkForCallback(obj
, name
, event
, theID
=-1):
656 try: cb
= getattr(obj
, name
)
658 else: obj
.Connect(theID
, -1, event
, cb
)
660 def _StdWindowCallbacks(win
):
661 _checkForCallback(win
, "OnChar", wxEVT_CHAR
)
662 _checkForCallback(win
, "OnSize", wxEVT_SIZE
)
663 _checkForCallback(win
, "OnEraseBackground", wxEVT_ERASE_BACKGROUND
)
664 _checkForCallback(win
, "OnSysColourChanged", wxEVT_SYS_COLOUR_CHANGED
)
665 _checkForCallback(win
, "OnInitDialog", wxEVT_INIT_DIALOG
)
666 _checkForCallback(win
, "OnIdle", wxEVT_IDLE
)
667 _checkForCallback(win
, "OnPaint", wxEVT_PAINT
)
669 def _StdFrameCallbacks(win
):
670 _StdWindowCallbacks(win
)
671 _checkForCallback(win
, "OnActivate", wxEVT_ACTIVATE
)
672 _checkForCallback(win
, "OnMenuHighlight", wxEVT_MENU_HIGHLIGHT
)
673 _checkForCallback(win
, "OnCloseWindow", wxEVT_CLOSE_WINDOW
)
676 def _StdDialogCallbacks(win
):
677 _StdWindowCallbacks(win
)
678 _checkForCallback(win
, "OnOk", wxEVT_COMMAND_BUTTON_CLICKED
, wxID_OK
)
679 _checkForCallback(win
, "OnApply", wxEVT_COMMAND_BUTTON_CLICKED
, wxID_APPLY
)
680 _checkForCallback(win
, "OnCancel", wxEVT_COMMAND_BUTTON_CLICKED
, wxID_CANCEL
)
681 _checkForCallback(win
, "OnCloseWindow", wxEVT_CLOSE_WINDOW
)
682 _checkForCallback(win
, "OnCharHook", wxEVT_CHAR_HOOK
)
685 def _StdOnScrollCallback(win
):
686 try: cb
= getattr(win
, "OnScroll")
688 else: EVT_SCROLL(win
, cb
)
692 #----------------------------------------------------------------------
693 #----------------------------------------------------------------------
694 # functions that look and act like the C++ Macros of the same name
698 def EVT_SIZE(win
, func
):
699 win
.Connect(-1, -1, wxEVT_SIZE
, func
)
701 def EVT_MOVE(win
, func
):
702 win
.Connect(-1, -1, wxEVT_MOVE
, func
)
704 def EVT_CLOSE(win
, func
):
705 win
.Connect(-1, -1, wxEVT_CLOSE_WINDOW
, func
)
707 def EVT_PAINT(win
, func
):
708 win
.Connect(-1, -1, wxEVT_PAINT
, func
)
710 def EVT_ERASE_BACKGROUND(win
, func
):
711 win
.Connect(-1, -1, wxEVT_ERASE_BACKGROUND
, func
)
713 def EVT_CHAR(win
, func
):
714 win
.Connect(-1, -1, wxEVT_CHAR
, func
)
716 def EVT_CHAR_HOOK(win
, func
):
717 win
.Connect(-1, -1, wxEVT_CHAR_HOOK
, func
)
719 def EVT_MENU_HIGHLIGHT(win
, id, func
):
720 win
.Connect(id, -1, wxEVT_MENU_HIGHLIGHT
, func
)
722 def EVT_MENU_HIGHLIGHT_ALL(win
, func
):
723 win
.Connect(-1, -1, wxEVT_MENU_HIGHLIGHT
, func
)
725 def EVT_SET_FOCUS(win
, func
):
726 win
.Connect(-1, -1, wxEVT_SET_FOCUS
, func
)
728 def EVT_KILL_FOCUS(win
, func
):
729 win
.Connect(-1, -1, wxEVT_KILL_FOCUS
, func
)
731 def EVT_ACTIVATE(win
, func
):
732 win
.Connect(-1, -1, wxEVT_ACTIVATE
, func
)
734 def EVT_ACTIVATE_APP(win
, func
):
735 win
.Connect(-1, -1, wxEVT_ACTIVATE_APP
, func
)
737 def EVT_END_SESSION(win
, func
):
738 win
.Connect(-1, -1, wxEVT_END_SESSION
, func
)
740 def EVT_QUERY_END_SESSION(win
, func
):
741 win
.Connect(-1, -1, wxEVT_QUERY_END_SESSION
, func
)
743 def EVT_DROP_FILES(win
, func
):
744 win
.Connect(-1, -1, wxEVT_DROP_FILES
, func
)
746 def EVT_INIT_DIALOG(win
, func
):
747 win
.Connect(-1, -1, wxEVT_INIT_DIALOG
, func
)
749 def EVT_SYS_COLOUR_CHANGED(win
, func
):
750 win
.Connect(-1, -1, wxEVT_SYS_COLOUR_CHANGED
, func
)
752 def EVT_SHOW(win
, func
):
753 win
.Connect(-1, -1, wxEVT_SHOW
, func
)
755 def EVT_MAXIMIZE(win
, func
):
756 win
.Connect(-1, -1, wxEVT_MAXIMIZE
, func
)
758 def EVT_ICONIZE(win
, func
):
759 win
.Connect(-1, -1, wxEVT_ICONIZE
, func
)
761 def EVT_NAVIGATION_KEY(win
, func
):
762 win
.Connect(-1, -1, wxEVT_NAVIGATION_KEY
, func
)
766 def EVT_LEFT_DOWN(win
, func
):
767 win
.Connect(-1, -1, wxEVT_LEFT_DOWN
, func
)
769 def EVT_LEFT_UP(win
, func
):
770 win
.Connect(-1, -1, wxEVT_LEFT_UP
, func
)
772 def EVT_MIDDLE_DOWN(win
, func
):
773 win
.Connect(-1, -1, wxEVT_MIDDLE_DOWN
, func
)
775 def EVT_MIDDLE_UP(win
, func
):
776 win
.Connect(-1, -1, wxEVT_MIDDLE_UP
, func
)
778 def EVT_RIGHT_DOWN(win
, func
):
779 win
.Connect(-1, -1, wxEVT_RIGHT_DOWN
, func
)
781 def EVT_RIGHT_UP(win
, func
):
782 win
.Connect(-1, -1, wxEVT_RIGHT_UP
, func
)
784 def EVT_MOTION(win
, func
):
785 win
.Connect(-1, -1, wxEVT_MOTION
, func
)
787 def EVT_LEFT_DCLICK(win
, func
):
788 win
.Connect(-1, -1, wxEVT_LEFT_DCLICK
, func
)
790 def EVT_MIDDLE_DCLICK(win
, func
):
791 win
.Connect(-1, -1, wxEVT_MIDDLE_DCLICK
, func
)
793 def EVT_RIGHT_DCLICK(win
, func
):
794 win
.Connect(-1, -1, wxEVT_RIGHT_DCLICK
, func
)
796 def EVT_LEAVE_WINDOW(win
, func
):
797 win
.Connect(-1, -1, wxEVT_LEAVE_WINDOW
, func
)
799 def EVT_ENTER_WINDOW(win
, func
):
800 win
.Connect(-1, -1, wxEVT_ENTER_WINDOW
, func
)
804 def EVT_MOUSE_EVENTS(win
, func
):
805 win
.Connect(-1, -1, wxEVT_LEFT_DOWN
, func
)
806 win
.Connect(-1, -1, wxEVT_LEFT_UP
, func
)
807 win
.Connect(-1, -1, wxEVT_MIDDLE_DOWN
, func
)
808 win
.Connect(-1, -1, wxEVT_MIDDLE_UP
, func
)
809 win
.Connect(-1, -1, wxEVT_RIGHT_DOWN
, func
)
810 win
.Connect(-1, -1, wxEVT_RIGHT_UP
, func
)
811 win
.Connect(-1, -1, wxEVT_MOTION
, func
)
812 win
.Connect(-1, -1, wxEVT_LEFT_DCLICK
, func
)
813 win
.Connect(-1, -1, wxEVT_MIDDLE_DCLICK
, func
)
814 win
.Connect(-1, -1, wxEVT_RIGHT_DCLICK
, func
)
815 win
.Connect(-1, -1, wxEVT_LEAVE_WINDOW
, func
)
816 win
.Connect(-1, -1, wxEVT_ENTER_WINDOW
, func
)
819 def EVT_COMMAND(win
, id, cmd
, func
):
820 win
.Connect(id, -1, cmd
, func
)
822 def EVT_COMMAND_RANGE(win
, id1
, id2
, cmd
, func
):
823 win
.Connect(id1
, id2
, cmd
, func
)
826 def EVT_SCROLL(win
, func
):
827 win
.Connect(-1, -1, wxEVT_SCROLL_TOP
, func
)
828 win
.Connect(-1, -1, wxEVT_SCROLL_BOTTOM
, func
)
829 win
.Connect(-1, -1, wxEVT_SCROLL_LINEUP
, func
)
830 win
.Connect(-1, -1, wxEVT_SCROLL_LINEDOWN
, func
)
831 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEUP
, func
)
832 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
833 win
.Connect(-1, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
835 def EVT_SCROLL_TOP(win
, func
):
836 win
.Connect(-1, -1, wxEVT_SCROLL_TOP
, func
)
838 def EVT_SCROLL_BOTTOM(win
, func
):
839 win
.Connect(-1, -1, wxEVT_SCROLL_BOTTOM
, func
)
841 def EVT_SCROLL_LINEUP(win
, func
):
842 win
.Connect(-1, -1, wxEVT_SCROLL_LINEUP
, func
)
844 def EVT_SCROLL_LINEDOWN(win
, func
):
845 win
.Connect(-1, -1, wxEVT_SCROLL_LINEDOWN
, func
)
847 def EVT_SCROLL_PAGEUP(win
, func
):
848 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEUP
, func
)
850 def EVT_SCROLL_PAGEDOWN(win
, func
):
851 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
853 def EVT_SCROLL_THUMBTRACK(win
, func
):
854 win
.Connect(-1, -1, wxEVT_SCROLL_THUMBTRACK
, func
)
858 # Scrolling, with an id
859 def EVT_COMMAND_SCROLL(win
, id, func
):
860 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
861 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
862 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
863 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
864 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
865 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
866 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
868 def EVT_COMMAND_SCROLL_TOP(win
, id, func
):
869 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
871 def EVT_COMMAND_SCROLL_BOTTOM(win
, id, func
):
872 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
874 def EVT_COMMAND_SCROLL_LINEUP(win
, id, func
):
875 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
877 def EVT_COMMAND_SCROLL_LINEDOWN(win
, id, func
):
878 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
880 def EVT_COMMAND_SCROLL_PAGEUP(win
, id, func
):
881 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
883 def EVT_COMMAND_SCROLL_PAGEDOWN(win
, id, func
):
884 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
886 def EVT_COMMAND_SCROLL_THUMBTRACK(win
, id, func
):
887 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
, func
)
890 # Convenience commands
891 def EVT_BUTTON(win
, id, func
):
892 win
.Connect(id, -1, wxEVT_COMMAND_BUTTON_CLICKED
, func
)
894 def EVT_CHECKBOX(win
, id, func
):
895 win
.Connect(id, -1, wxEVT_COMMAND_CHECKBOX_CLICKED
, func
)
897 def EVT_CHOICE(win
, id, func
):
898 win
.Connect(id, -1, wxEVT_COMMAND_CHOICE_SELECTED
, func
)
900 def EVT_LISTBOX(win
, id, func
):
901 win
.Connect(id, -1, wxEVT_COMMAND_LISTBOX_SELECTED
, func
)
903 def EVT_LISTBOX_DCLICK(win
, id, func
):
904 win
.Connect(id, -1, wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, func
)
906 def EVT_TEXT(win
, id, func
):
907 win
.Connect(id, -1, wxEVT_COMMAND_TEXT_UPDATED
, func
)
909 def EVT_TEXT_ENTER(win
, id, func
):
910 win
.Connect(id, -1, wxEVT_COMMAND_TEXT_ENTER
, func
)
912 def EVT_MENU(win
, id, func
):
913 win
.Connect(id, -1, wxEVT_COMMAND_MENU_SELECTED
, func
)
915 def EVT_MENU_RANGE(win
, id1
, id2
, func
):
916 win
.Connect(id1
, id2
, wxEVT_COMMAND_MENU_SELECTED
, func
)
918 def EVT_SLIDER(win
, id, func
):
919 win
.Connect(id, -1, wxEVT_COMMAND_SLIDER_UPDATED
, func
)
921 def EVT_RADIOBOX(win
, id, func
):
922 win
.Connect(id, -1, wxEVT_COMMAND_RADIOBOX_SELECTED
, func
)
924 def EVT_RADIOBUTTON(win
, id, func
):
925 win
.Connect(id, -1, wxEVT_COMMAND_RADIOBUTTON_SELECTED
, func
)
927 def EVT_VLBOX(win
, id, func
):
928 win
.Connect(id, -1, wxEVT_COMMAND_VLBOX_SELECTED
, func
)
930 def EVT_COMBOBOX(win
, id, func
):
931 win
.Connect(id, -1, wxEVT_COMMAND_COMBOBOX_SELECTED
, func
)
933 def EVT_TOOL(win
, id, func
):
934 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_CLICKED
, func
)
936 def EVT_TOOL_RCLICKED(win
, id, func
):
937 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_RCLICKED
, func
)
939 def EVT_TOOL_ENTER(win
, id, func
):
940 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_ENTER
, func
)
942 def EVT_CHECKLISTBOX(win
, id, func
):
943 win
.Connect(id, -1, wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, func
)
946 # Generic command events
948 def EVT_COMMAND_LEFT_CLICK(win
, id, func
):
949 win
.Connect(id, -1, wxEVT_COMMAND_LEFT_CLICK
, func
)
951 def EVT_COMMAND_LEFT_DCLICK(win
, id, func
):
952 win
.Connect(id, -1, wxEVT_COMMAND_LEFT_DCLICK
, func
)
954 def EVT_COMMAND_RIGHT_CLICK(win
, id, func
):
955 win
.Connect(id, -1, wxEVT_COMMAND_RIGHT_CLICK
, func
)
957 def EVT_COMMAND_RIGHT_DCLICK(win
, id, func
):
958 win
.Connect(id, -1, wxEVT_COMMAND_RIGHT_DCLICK
, func
)
960 def EVT_COMMAND_SET_FOCUS(win
, id, func
):
961 win
.Connect(id, -1, wxEVT_COMMAND_SET_FOCUS
, func
)
963 def EVT_COMMAND_KILL_FOCUS(win
, id, func
):
964 win
.Connect(id, -1, wxEVT_COMMAND_KILL_FOCUS
, func
)
966 def EVT_COMMAND_ENTER(win
, id, func
):
967 win
.Connect(id, -1, wxEVT_COMMAND_ENTER
, func
)
971 def EVT_NOTEBOOK_PAGE_CHANGED(win
, id, func
):
972 win
.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, func
)
974 def EVT_NOTEBOOK_PAGE_CHANGING(win
, id, func
):
975 win
.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, func
)
979 def EVT_TREE_BEGIN_DRAG(win
, id, func
):
980 win
.Connect(id, -1, wxEVT_COMMAND_TREE_BEGIN_DRAG
, func
)
982 def EVT_TREE_BEGIN_RDRAG(win
, id, func
):
983 win
.Connect(id, -1, wxEVT_COMMAND_TREE_BEGIN_RDRAG
, func
)
985 def EVT_TREE_BEGIN_LABEL_EDIT(win
, id, func
):
986 win
.Connect(id, -1, wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, func
)
988 def EVT_TREE_END_LABEL_EDIT(win
, id, func
):
989 win
.Connect(id, -1, wxEVT_COMMAND_TREE_END_LABEL_EDIT
, func
)
991 def EVT_TREE_GET_INFO(win
, id, func
):
992 win
.Connect(id, -1, wxEVT_COMMAND_TREE_GET_INFO
, func
)
994 def EVT_TREE_SET_INFO(win
, id, func
):
995 win
.Connect(id, -1, wxEVT_COMMAND_TREE_SET_INFO
, func
)
997 def EVT_TREE_ITEM_EXPANDED(win
, id, func
):
998 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_EXPANDED
, func
)
1000 def EVT_TREE_ITEM_EXPANDING(win
, id, func
):
1001 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_EXPANDING
, func
)
1003 def EVT_TREE_ITEM_COLLAPSED(win
, id, func
):
1004 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, func
)
1006 def EVT_TREE_ITEM_COLLAPSING(win
, id, func
):
1007 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, func
)
1009 def EVT_TREE_SEL_CHANGED(win
, id, func
):
1010 win
.Connect(id, -1, wxEVT_COMMAND_TREE_SEL_CHANGED
, func
)
1012 def EVT_TREE_SEL_CHANGING(win
, id, func
):
1013 win
.Connect(id, -1, wxEVT_COMMAND_TREE_SEL_CHANGING
, func
)
1015 def EVT_TREE_KEY_DOWN(win
, id, func
):
1016 win
.Connect(id, -1, wxEVT_COMMAND_TREE_KEY_DOWN
, func
)
1018 def EVT_TREE_DELETE_ITEM(win
, id, func
):
1019 win
.Connect(id, -1, wxEVT_COMMAND_TREE_DELETE_ITEM
, func
)
1023 def EVT_SPIN_UP(win
, id, func
):
1024 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1026 def EVT_SPIN_DOWN(win
, id, func
):
1027 win
.Connect(id, -1,wxEVT_SCROLL_LINEDOWN
, func
)
1029 def EVT_SPIN(win
, id, func
):
1030 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
1031 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
1032 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1033 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1034 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
1035 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
1036 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
1042 def EVT_TASKBAR_MOVE(win
, func
):
1043 win
.Connect(-1, -1, wxEVT_TASKBAR_MOVE
, func
)
1045 def EVT_TASKBAR_LEFT_DOWN(win
, func
):
1046 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_DOWN
, func
)
1048 def EVT_TASKBAR_LEFT_UP(win
, func
):
1049 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_UP
, func
)
1051 def EVT_TASKBAR_RIGHT_DOWN(win
, func
):
1052 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_DOWN
, func
)
1054 def EVT_TASKBAR_RIGHT_UP(win
, func
):
1055 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_UP
, func
)
1057 def EVT_TASKBAR_LEFT_DCLICK(win
, func
):
1058 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_DCLICK
, func
)
1060 def EVT_TASKBAR_RIGHT_DCLICK(win
, func
):
1061 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_DCLICK
, func
)
1065 def EVT_GRID_SELECT_CELL(win
, fn
):
1066 win
.Connect(-1, -1, wxEVT_GRID_SELECT_CELL
, fn
)
1068 def EVT_GRID_CREATE_CELL(win
, fn
):
1069 win
.Connect(-1, -1, wxEVT_GRID_CREATE_CELL
, fn
)
1071 def EVT_GRID_CHANGE_LABELS(win
, fn
):
1072 win
.Connect(-1, -1, wxEVT_GRID_CHANGE_LABELS
, fn
)
1074 def EVT_GRID_CHANGE_SEL_LABEL(win
, fn
):
1075 win
.Connect(-1, -1, wxEVT_GRID_CHANGE_SEL_LABEL
, fn
)
1077 def EVT_GRID_CELL_CHANGE(win
, fn
):
1078 win
.Connect(-1, -1, wxEVT_GRID_CELL_CHANGE
, fn
)
1080 def EVT_GRID_CELL_LCLICK(win
, fn
):
1081 win
.Connect(-1, -1, wxEVT_GRID_CELL_LCLICK
, fn
)
1083 def EVT_GRID_CELL_RCLICK(win
, fn
):
1084 win
.Connect(-1, -1, wxEVT_GRID_CELL_RCLICK
, fn
)
1086 def EVT_GRID_LABEL_LCLICK(win
, fn
):
1087 win
.Connect(-1, -1, wxEVT_GRID_LABEL_LCLICK
, fn
)
1089 def EVT_GRID_LABEL_RCLICK(win
, fn
):
1090 win
.Connect(-1, -1, wxEVT_GRID_LABEL_RCLICK
, fn
)
1095 #----------------------------------------------------------------------
1097 class wxTimer(wxPyTimer
):
1099 wxPyTimer
.__init
__(self
, self
.Notify
) # derived class must provide
1100 # Notify(self) method.
1102 #----------------------------------------------------------------------
1103 # Some wxWin methods can take "NULL" as parameters, but the shadow classes
1104 # expect an object with the SWIG pointer as a 'this' member. This class
1105 # and instance fools the shadow into passing the NULL pointer.
1108 this
= 'NULL' # SWIG converts this to (void*)0
1113 #----------------------------------------------------------------------
1117 wxNamedColor
= wxNamedColour
1119 wxPyDefaultPosition
.Set(-1,-1)
1120 wxPyDefaultSize
.Set(-1,-1)
1122 #----------------------------------------------------------------------
1124 ## class wxPyStdOutWindow(wxFrame):
1125 ## def __init__(self, title = "wxPython: stdout/stderr"):
1126 ## wxFrame.__init__(self, NULL, title)
1127 ## self.title = title
1128 ## self.text = wxTextWindow(self)
1129 ## self.text.SetFont(wxFont(10, wxMODERN, wxNORMAL, wxBOLD))
1130 ## self.SetSize(-1,-1,400,200)
1132 ## self.isShown = false
1134 ## def write(self, str): # with this method,
1135 ## if not self.isShown:
1137 ## self.isShown = true
1138 ## self.text.WriteText(str)
1140 ## def OnCloseWindow(self, event): # doesn't allow the window to close, just hides it
1142 ## self.isShown = false
1145 _defRedirect
= (wxPlatform
== '__WXMSW__')
1147 #----------------------------------------------------------------------
1148 # The main application class. Derive from this and implement an OnInit
1149 # method that creates a frame and then calls self.SetTopWindow(frame)
1151 class wxApp(wxPyApp
):
1152 error
= 'wxApp.error'
1154 def __init__(self
, redirect
=_defRedirect
, filename
=None):
1155 wxPyApp
.__init
__(self
)
1156 self
.stdioWin
= None
1157 self
.saveStdio
= (sys
.stdout
, sys
.stderr
)
1159 self
.RedirectStdio(filename
)
1161 # this initializes wxWindows and then calls our OnInit
1162 _wxStart(self
.OnInit
)
1171 def RedirectStdio(self
, filename
):
1173 sys
.stdout
= sys
.stderr
= open(filename
, 'a')
1175 raise self
.error
, 'wxPyStdOutWindow not yet implemented.'
1176 #self.stdioWin = sys.stdout = sys.stderr = wxPyStdOutWindow()
1178 def RestoreStdio(self
):
1179 sys
.stdout
, sys
.stderr
= self
.saveStdio
1180 if self
.stdioWin
!= None:
1181 self
.stdioWin
.Show(false
)
1182 self
.stdioWin
.Destroy()
1183 self
.stdioWin
= None
1186 #----------------------------------------------------------------------------
1189 # Revision 1.6 1998/11/25 08:46:48 RD
1190 # Added wxPalette, wxRegion, wxRegionIterator, wxTaskbarIcon
1191 # Added events for wxGrid
1192 # Other various fixes and additions
1194 # Revision 1.6 1998/11/16 00:00:52 RD
1195 # Generic treectrl for wxPython/GTK compiles...
1197 # Revision 1.5 1998/10/20 07:38:02 RD
1200 # Revision 1.4 1998/10/20 06:43:54 RD
1201 # New wxTreeCtrl wrappers (untested)
1202 # some changes in helpers
1205 # Revision 1.3 1998/10/02 06:40:33 RD
1207 # Version 0.4 of wxPython for MSW.
1209 # Revision 1.2 1998/08/18 19:48:12 RD
1210 # more wxGTK compatibility things.
1212 # It builds now but there are serious runtime problems...
1214 # Revision 1.1 1998/08/09 08:25:49 RD