1 # This file was created automatically by SWIG.
18 from stattool
import *
20 from controls
import *
22 from controls2
import *
24 from windows2
import *
28 from windows3
import *
33 class wxPyAppPtr(wxEvtHandlerPtr
):
34 def __init__(self
,this
):
37 def __del__(self
,wxc
=wxc
):
38 if self
.thisown
== 1 :
39 wxc
.delete_wxPyApp(self
)
40 def GetAppName(self
, *_args
, **_kwargs
):
41 val
= apply(wxc
.wxPyApp_GetAppName
,(self
,) + _args
, _kwargs
)
43 def GetAuto3D(self
, *_args
, **_kwargs
):
44 val
= apply(wxc
.wxPyApp_GetAuto3D
,(self
,) + _args
, _kwargs
)
46 def GetClassName(self
, *_args
, **_kwargs
):
47 val
= apply(wxc
.wxPyApp_GetClassName
,(self
,) + _args
, _kwargs
)
49 def GetExitOnFrameDelete(self
, *_args
, **_kwargs
):
50 val
= apply(wxc
.wxPyApp_GetExitOnFrameDelete
,(self
,) + _args
, _kwargs
)
52 def GetPrintMode(self
, *_args
, **_kwargs
):
53 val
= apply(wxc
.wxPyApp_GetPrintMode
,(self
,) + _args
, _kwargs
)
55 def GetTopWindow(self
, *_args
, **_kwargs
):
56 val
= apply(wxc
.wxPyApp_GetTopWindow
,(self
,) + _args
, _kwargs
)
57 if val
: val
= wxWindowPtr(val
)
59 def GetVendorName(self
, *_args
, **_kwargs
):
60 val
= apply(wxc
.wxPyApp_GetVendorName
,(self
,) + _args
, _kwargs
)
62 def Dispatch(self
, *_args
, **_kwargs
):
63 val
= apply(wxc
.wxPyApp_Dispatch
,(self
,) + _args
, _kwargs
)
65 def ExitMainLoop(self
, *_args
, **_kwargs
):
66 val
= apply(wxc
.wxPyApp_ExitMainLoop
,(self
,) + _args
, _kwargs
)
68 def Initialized(self
, *_args
, **_kwargs
):
69 val
= apply(wxc
.wxPyApp_Initialized
,(self
,) + _args
, _kwargs
)
71 def MainLoop(self
, *_args
, **_kwargs
):
72 val
= apply(wxc
.wxPyApp_MainLoop
,(self
,) + _args
, _kwargs
)
74 def Pending(self
, *_args
, **_kwargs
):
75 val
= apply(wxc
.wxPyApp_Pending
,(self
,) + _args
, _kwargs
)
77 def ProcessIdle(self
, *_args
, **_kwargs
):
78 val
= apply(wxc
.wxPyApp_ProcessIdle
,(self
,) + _args
, _kwargs
)
80 def SetAppName(self
, *_args
, **_kwargs
):
81 val
= apply(wxc
.wxPyApp_SetAppName
,(self
,) + _args
, _kwargs
)
83 def SetAuto3D(self
, *_args
, **_kwargs
):
84 val
= apply(wxc
.wxPyApp_SetAuto3D
,(self
,) + _args
, _kwargs
)
86 def SetClassName(self
, *_args
, **_kwargs
):
87 val
= apply(wxc
.wxPyApp_SetClassName
,(self
,) + _args
, _kwargs
)
89 def SetExitOnFrameDelete(self
, *_args
, **_kwargs
):
90 val
= apply(wxc
.wxPyApp_SetExitOnFrameDelete
,(self
,) + _args
, _kwargs
)
92 def SetPrintMode(self
, *_args
, **_kwargs
):
93 val
= apply(wxc
.wxPyApp_SetPrintMode
,(self
,) + _args
, _kwargs
)
95 def SetTopWindow(self
, *_args
, **_kwargs
):
96 val
= apply(wxc
.wxPyApp_SetTopWindow
,(self
,) + _args
, _kwargs
)
98 def SetVendorName(self
, *_args
, **_kwargs
):
99 val
= apply(wxc
.wxPyApp_SetVendorName
,(self
,) + _args
, _kwargs
)
101 def GetStdIcon(self
, *_args
, **_kwargs
):
102 val
= apply(wxc
.wxPyApp_GetStdIcon
,(self
,) + _args
, _kwargs
)
103 if val
: val
= wxIconPtr(val
) ; val
.thisown
= 1
106 return "<C wxPyApp instance at %s>" % (self
.this
,)
107 class wxPyApp(wxPyAppPtr
):
108 def __init__(self
,*_args
,**_kwargs
):
109 self
.this
= apply(wxc
.new_wxPyApp
,_args
,_kwargs
)
115 class __wxPyCleanupPtr
:
116 def __init__(self
,this
):
119 def __del__(self
,wxc
=wxc
):
120 if self
.thisown
== 1 :
121 wxc
.delete___wxPyCleanup(self
)
123 return "<C __wxPyCleanup instance at %s>" % (self
.this
,)
124 class __wxPyCleanup(__wxPyCleanupPtr
):
125 def __init__(self
,*_args
,**_kwargs
):
126 self
.this
= apply(wxc
.new___wxPyCleanup
,_args
,_kwargs
)
134 #-------------- FUNCTION WRAPPERS ------------------
136 ptrcast
= wxc
.ptrcast
138 ptrvalue
= wxc
.ptrvalue
142 ptrcreate
= wxc
.ptrcreate
144 ptrfree
= wxc
.ptrfree
150 _wxStart
= wxc
._wxStart
152 _wxSetDictionary
= wxc
._wxSetDictionary
156 #-------------- VARIABLE WRAPPERS ------------------
158 wxMAJOR_VERSION
= wxc
.wxMAJOR_VERSION
159 wxMINOR_VERSION
= wxc
.wxMINOR_VERSION
160 wxRELEASE_NUMBER
= wxc
.wxRELEASE_NUMBER
161 wxNOT_FOUND
= wxc
.wxNOT_FOUND
162 wxVSCROLL
= wxc
.wxVSCROLL
163 wxHSCROLL
= wxc
.wxHSCROLL
164 wxCAPTION
= wxc
.wxCAPTION
165 wxDOUBLE_BORDER
= wxc
.wxDOUBLE_BORDER
166 wxSUNKEN_BORDER
= wxc
.wxSUNKEN_BORDER
167 wxRAISED_BORDER
= wxc
.wxRAISED_BORDER
168 wxBORDER
= wxc
.wxBORDER
169 wxSIMPLE_BORDER
= wxc
.wxSIMPLE_BORDER
170 wxSTATIC_BORDER
= wxc
.wxSTATIC_BORDER
171 wxTRANSPARENT_WINDOW
= wxc
.wxTRANSPARENT_WINDOW
172 wxNO_BORDER
= wxc
.wxNO_BORDER
173 wxUSER_COLOURS
= wxc
.wxUSER_COLOURS
174 wxNO_3D
= wxc
.wxNO_3D
175 wxTAB_TRAVERSAL
= wxc
.wxTAB_TRAVERSAL
176 wxHORIZONTAL
= wxc
.wxHORIZONTAL
177 wxVERTICAL
= wxc
.wxVERTICAL
179 wxCENTER_FRAME
= wxc
.wxCENTER_FRAME
180 wxSTAY_ON_TOP
= wxc
.wxSTAY_ON_TOP
181 wxICONIZE
= wxc
.wxICONIZE
182 wxMINIMIZE
= wxc
.wxMINIMIZE
183 wxMAXIMIZE
= wxc
.wxMAXIMIZE
184 wxTHICK_FRAME
= wxc
.wxTHICK_FRAME
185 wxSYSTEM_MENU
= wxc
.wxSYSTEM_MENU
186 wxMINIMIZE_BOX
= wxc
.wxMINIMIZE_BOX
187 wxMAXIMIZE_BOX
= wxc
.wxMAXIMIZE_BOX
188 wxTINY_CAPTION_HORIZ
= wxc
.wxTINY_CAPTION_HORIZ
189 wxTINY_CAPTION_VERT
= wxc
.wxTINY_CAPTION_VERT
190 wxRESIZE_BOX
= wxc
.wxRESIZE_BOX
191 wxRESIZE_BORDER
= wxc
.wxRESIZE_BORDER
192 wxDIALOG_MODAL
= wxc
.wxDIALOG_MODAL
193 wxDIALOG_MODELESS
= wxc
.wxDIALOG_MODELESS
194 wxDEFAULT_FRAME_STYLE
= wxc
.wxDEFAULT_FRAME_STYLE
195 wxDEFAULT_DIALOG_STYLE
= wxc
.wxDEFAULT_DIALOG_STYLE
196 wxFRAME_TOOL_WINDOW
= wxc
.wxFRAME_TOOL_WINDOW
197 wxFRAME_FLOAT_ON_PARENT
= wxc
.wxFRAME_FLOAT_ON_PARENT
198 wxCLIP_CHILDREN
= wxc
.wxCLIP_CHILDREN
199 wxRETAINED
= wxc
.wxRETAINED
200 wxBACKINGSTORE
= wxc
.wxBACKINGSTORE
201 wxTB_3DBUTTONS
= wxc
.wxTB_3DBUTTONS
202 wxTB_HORIZONTAL
= wxc
.wxTB_HORIZONTAL
203 wxTB_VERTICAL
= wxc
.wxTB_VERTICAL
204 wxTB_FLAT
= wxc
.wxTB_FLAT
205 wxCOLOURED
= wxc
.wxCOLOURED
206 wxFIXED_LENGTH
= wxc
.wxFIXED_LENGTH
207 wxALIGN_LEFT
= wxc
.wxALIGN_LEFT
208 wxALIGN_CENTER
= wxc
.wxALIGN_CENTER
209 wxALIGN_CENTRE
= wxc
.wxALIGN_CENTRE
210 wxALIGN_RIGHT
= wxc
.wxALIGN_RIGHT
211 wxLB_NEEDED_SB
= wxc
.wxLB_NEEDED_SB
212 wxLB_ALWAYS_SB
= wxc
.wxLB_ALWAYS_SB
213 wxLB_SORT
= wxc
.wxLB_SORT
214 wxLB_SINGLE
= wxc
.wxLB_SINGLE
215 wxLB_MULTIPLE
= wxc
.wxLB_MULTIPLE
216 wxLB_EXTENDED
= wxc
.wxLB_EXTENDED
217 wxLB_OWNERDRAW
= wxc
.wxLB_OWNERDRAW
218 wxLB_HSCROLL
= wxc
.wxLB_HSCROLL
219 wxPROCESS_ENTER
= wxc
.wxPROCESS_ENTER
220 wxPASSWORD
= wxc
.wxPASSWORD
221 wxTE_PROCESS_ENTER
= wxc
.wxTE_PROCESS_ENTER
222 wxTE_PASSWORD
= wxc
.wxTE_PASSWORD
223 wxTE_READONLY
= wxc
.wxTE_READONLY
224 wxTE_RICH
= wxc
.wxTE_RICH
225 wxTE_MULTILINE
= wxc
.wxTE_MULTILINE
226 wxCB_SIMPLE
= wxc
.wxCB_SIMPLE
227 wxCB_DROPDOWN
= wxc
.wxCB_DROPDOWN
228 wxCB_SORT
= wxc
.wxCB_SORT
229 wxCB_READONLY
= wxc
.wxCB_READONLY
230 wxRA_HORIZONTAL
= wxc
.wxRA_HORIZONTAL
231 wxRA_VERTICAL
= wxc
.wxRA_VERTICAL
232 wxRA_SPECIFY_ROWS
= wxc
.wxRA_SPECIFY_ROWS
233 wxRA_SPECIFY_COLS
= wxc
.wxRA_SPECIFY_COLS
234 wxRB_GROUP
= wxc
.wxRB_GROUP
235 wxGA_PROGRESSBAR
= wxc
.wxGA_PROGRESSBAR
236 wxGA_HORIZONTAL
= wxc
.wxGA_HORIZONTAL
237 wxGA_VERTICAL
= wxc
.wxGA_VERTICAL
238 wxGA_SMOOTH
= wxc
.wxGA_SMOOTH
239 wxSL_HORIZONTAL
= wxc
.wxSL_HORIZONTAL
240 wxSL_VERTICAL
= wxc
.wxSL_VERTICAL
241 wxSL_AUTOTICKS
= wxc
.wxSL_AUTOTICKS
242 wxSL_LABELS
= wxc
.wxSL_LABELS
243 wxSL_LEFT
= wxc
.wxSL_LEFT
244 wxSL_TOP
= wxc
.wxSL_TOP
245 wxSL_RIGHT
= wxc
.wxSL_RIGHT
246 wxSL_BOTTOM
= wxc
.wxSL_BOTTOM
247 wxSL_BOTH
= wxc
.wxSL_BOTH
248 wxSL_SELRANGE
= wxc
.wxSL_SELRANGE
249 wxSB_HORIZONTAL
= wxc
.wxSB_HORIZONTAL
250 wxSB_VERTICAL
= wxc
.wxSB_VERTICAL
251 wxST_SIZEGRIP
= wxc
.wxST_SIZEGRIP
252 wxBU_AUTODRAW
= wxc
.wxBU_AUTODRAW
253 wxBU_NOAUTODRAW
= wxc
.wxBU_NOAUTODRAW
254 wxTR_HAS_BUTTONS
= wxc
.wxTR_HAS_BUTTONS
255 wxTR_EDIT_LABELS
= wxc
.wxTR_EDIT_LABELS
256 wxTR_LINES_AT_ROOT
= wxc
.wxTR_LINES_AT_ROOT
257 wxTR_MULTIPLE
= wxc
.wxTR_MULTIPLE
258 wxTR_HAS_VARIABLE_ROW_HEIGHT
= wxc
.wxTR_HAS_VARIABLE_ROW_HEIGHT
259 wxLC_ICON
= wxc
.wxLC_ICON
260 wxLC_SMALL_ICON
= wxc
.wxLC_SMALL_ICON
261 wxLC_LIST
= wxc
.wxLC_LIST
262 wxLC_REPORT
= wxc
.wxLC_REPORT
263 wxLC_ALIGN_TOP
= wxc
.wxLC_ALIGN_TOP
264 wxLC_ALIGN_LEFT
= wxc
.wxLC_ALIGN_LEFT
265 wxLC_AUTOARRANGE
= wxc
.wxLC_AUTOARRANGE
266 wxLC_USER_TEXT
= wxc
.wxLC_USER_TEXT
267 wxLC_EDIT_LABELS
= wxc
.wxLC_EDIT_LABELS
268 wxLC_NO_HEADER
= wxc
.wxLC_NO_HEADER
269 wxLC_NO_SORT_HEADER
= wxc
.wxLC_NO_SORT_HEADER
270 wxLC_SINGLE_SEL
= wxc
.wxLC_SINGLE_SEL
271 wxLC_SORT_ASCENDING
= wxc
.wxLC_SORT_ASCENDING
272 wxLC_SORT_DESCENDING
= wxc
.wxLC_SORT_DESCENDING
273 wxLC_MASK_TYPE
= wxc
.wxLC_MASK_TYPE
274 wxLC_MASK_ALIGN
= wxc
.wxLC_MASK_ALIGN
275 wxLC_MASK_SORT
= wxc
.wxLC_MASK_SORT
276 wxSP_VERTICAL
= wxc
.wxSP_VERTICAL
277 wxSP_HORIZONTAL
= wxc
.wxSP_HORIZONTAL
278 wxSP_ARROW_KEYS
= wxc
.wxSP_ARROW_KEYS
279 wxSP_WRAP
= wxc
.wxSP_WRAP
280 wxSP_NOBORDER
= wxc
.wxSP_NOBORDER
281 wxSP_3D
= wxc
.wxSP_3D
282 wxSP_BORDER
= wxc
.wxSP_BORDER
283 wxFLOOD_SURFACE
= wxc
.wxFLOOD_SURFACE
284 wxFLOOD_BORDER
= wxc
.wxFLOOD_BORDER
285 wxODDEVEN_RULE
= wxc
.wxODDEVEN_RULE
286 wxWINDING_RULE
= wxc
.wxWINDING_RULE
287 wxTOOL_TOP
= wxc
.wxTOOL_TOP
288 wxTOOL_BOTTOM
= wxc
.wxTOOL_BOTTOM
289 wxTOOL_LEFT
= wxc
.wxTOOL_LEFT
290 wxTOOL_RIGHT
= wxc
.wxTOOL_RIGHT
292 wxYES_NO
= wxc
.wxYES_NO
293 wxCANCEL
= wxc
.wxCANCEL
296 wxICON_EXCLAMATION
= wxc
.wxICON_EXCLAMATION
297 wxICON_HAND
= wxc
.wxICON_HAND
298 wxICON_QUESTION
= wxc
.wxICON_QUESTION
299 wxICON_INFORMATION
= wxc
.wxICON_INFORMATION
300 wxICON_STOP
= wxc
.wxICON_STOP
301 wxICON_ASTERISK
= wxc
.wxICON_ASTERISK
302 wxICON_MASK
= wxc
.wxICON_MASK
303 wxCENTRE
= wxc
.wxCENTRE
304 wxCENTER
= wxc
.wxCENTER
305 wxSIZE_AUTO_WIDTH
= wxc
.wxSIZE_AUTO_WIDTH
306 wxSIZE_AUTO_HEIGHT
= wxc
.wxSIZE_AUTO_HEIGHT
307 wxSIZE_AUTO
= wxc
.wxSIZE_AUTO
308 wxSIZE_USE_EXISTING
= wxc
.wxSIZE_USE_EXISTING
309 wxSIZE_ALLOW_MINUS_ONE
= wxc
.wxSIZE_ALLOW_MINUS_ONE
310 wxDF_TEXT
= wxc
.wxDF_TEXT
311 wxDF_BITMAP
= wxc
.wxDF_BITMAP
312 wxDF_METAFILE
= wxc
.wxDF_METAFILE
313 wxDF_DIB
= wxc
.wxDF_DIB
314 wxDF_OEMTEXT
= wxc
.wxDF_OEMTEXT
315 wxDF_FILENAME
= wxc
.wxDF_FILENAME
316 wxPORTRAIT
= wxc
.wxPORTRAIT
317 wxLANDSCAPE
= wxc
.wxLANDSCAPE
318 wxPRINT_QUALITY_HIGH
= wxc
.wxPRINT_QUALITY_HIGH
319 wxPRINT_QUALITY_MEDIUM
= wxc
.wxPRINT_QUALITY_MEDIUM
320 wxPRINT_QUALITY_LOW
= wxc
.wxPRINT_QUALITY_LOW
321 wxPRINT_QUALITY_DRAFT
= wxc
.wxPRINT_QUALITY_DRAFT
322 wxID_OPEN
= wxc
.wxID_OPEN
323 wxID_CLOSE
= wxc
.wxID_CLOSE
324 wxID_NEW
= wxc
.wxID_NEW
325 wxID_SAVE
= wxc
.wxID_SAVE
326 wxID_SAVEAS
= wxc
.wxID_SAVEAS
327 wxID_REVERT
= wxc
.wxID_REVERT
328 wxID_EXIT
= wxc
.wxID_EXIT
329 wxID_UNDO
= wxc
.wxID_UNDO
330 wxID_REDO
= wxc
.wxID_REDO
331 wxID_HELP
= wxc
.wxID_HELP
332 wxID_PRINT
= wxc
.wxID_PRINT
333 wxID_PRINT_SETUP
= wxc
.wxID_PRINT_SETUP
334 wxID_PREVIEW
= wxc
.wxID_PREVIEW
335 wxID_ABOUT
= wxc
.wxID_ABOUT
336 wxID_HELP_CONTENTS
= wxc
.wxID_HELP_CONTENTS
337 wxID_HELP_COMMANDS
= wxc
.wxID_HELP_COMMANDS
338 wxID_HELP_PROCEDURES
= wxc
.wxID_HELP_PROCEDURES
339 wxID_HELP_CONTEXT
= wxc
.wxID_HELP_CONTEXT
340 wxID_CUT
= wxc
.wxID_CUT
341 wxID_COPY
= wxc
.wxID_COPY
342 wxID_PASTE
= wxc
.wxID_PASTE
343 wxID_CLEAR
= wxc
.wxID_CLEAR
344 wxID_FIND
= wxc
.wxID_FIND
345 wxID_FILE1
= wxc
.wxID_FILE1
346 wxID_FILE2
= wxc
.wxID_FILE2
347 wxID_FILE3
= wxc
.wxID_FILE3
348 wxID_FILE4
= wxc
.wxID_FILE4
349 wxID_FILE5
= wxc
.wxID_FILE5
350 wxID_FILE6
= wxc
.wxID_FILE6
351 wxID_FILE7
= wxc
.wxID_FILE7
352 wxID_FILE8
= wxc
.wxID_FILE8
353 wxID_FILE9
= wxc
.wxID_FILE9
354 wxID_OK
= wxc
.wxID_OK
355 wxID_CANCEL
= wxc
.wxID_CANCEL
356 wxID_APPLY
= wxc
.wxID_APPLY
357 wxID_YES
= wxc
.wxID_YES
358 wxID_NO
= wxc
.wxID_NO
359 wxID_STATIC
= wxc
.wxID_STATIC
360 wxBITMAP_TYPE_BMP
= wxc
.wxBITMAP_TYPE_BMP
361 wxBITMAP_TYPE_BMP_RESOURCE
= wxc
.wxBITMAP_TYPE_BMP_RESOURCE
362 wxBITMAP_TYPE_ICO
= wxc
.wxBITMAP_TYPE_ICO
363 wxBITMAP_TYPE_ICO_RESOURCE
= wxc
.wxBITMAP_TYPE_ICO_RESOURCE
364 wxBITMAP_TYPE_CUR
= wxc
.wxBITMAP_TYPE_CUR
365 wxBITMAP_TYPE_CUR_RESOURCE
= wxc
.wxBITMAP_TYPE_CUR_RESOURCE
366 wxBITMAP_TYPE_XBM
= wxc
.wxBITMAP_TYPE_XBM
367 wxBITMAP_TYPE_XBM_DATA
= wxc
.wxBITMAP_TYPE_XBM_DATA
368 wxBITMAP_TYPE_XPM
= wxc
.wxBITMAP_TYPE_XPM
369 wxBITMAP_TYPE_XPM_DATA
= wxc
.wxBITMAP_TYPE_XPM_DATA
370 wxBITMAP_TYPE_TIF
= wxc
.wxBITMAP_TYPE_TIF
371 wxBITMAP_TYPE_TIF_RESOURCE
= wxc
.wxBITMAP_TYPE_TIF_RESOURCE
372 wxBITMAP_TYPE_GIF
= wxc
.wxBITMAP_TYPE_GIF
373 wxBITMAP_TYPE_GIF_RESOURCE
= wxc
.wxBITMAP_TYPE_GIF_RESOURCE
374 wxBITMAP_TYPE_PNG
= wxc
.wxBITMAP_TYPE_PNG
375 wxBITMAP_TYPE_PNG_RESOURCE
= wxc
.wxBITMAP_TYPE_PNG_RESOURCE
376 wxBITMAP_TYPE_ANY
= wxc
.wxBITMAP_TYPE_ANY
377 wxBITMAP_TYPE_RESOURCE
= wxc
.wxBITMAP_TYPE_RESOURCE
378 wxBITMAP_TYPE_JPEG
= wxc
.wxBITMAP_TYPE_JPEG
381 wxHIDE_READONLY
= wxc
.wxHIDE_READONLY
382 wxOVERWRITE_PROMPT
= wxc
.wxOVERWRITE_PROMPT
383 wxACCEL_ALT
= wxc
.wxACCEL_ALT
384 wxACCEL_CTRL
= wxc
.wxACCEL_CTRL
385 wxACCEL_SHIFT
= wxc
.wxACCEL_SHIFT
386 wxPD_AUTO_HIDE
= wxc
.wxPD_AUTO_HIDE
387 wxPD_APP_MODAL
= wxc
.wxPD_APP_MODAL
388 wxPD_CAN_ABORT
= wxc
.wxPD_CAN_ABORT
389 wxPD_ELAPSED_TIME
= wxc
.wxPD_ELAPSED_TIME
390 wxPD_ESTIMATED_TIME
= wxc
.wxPD_ESTIMATED_TIME
391 wxPD_REMAINING_TIME
= wxc
.wxPD_REMAINING_TIME
392 wxNO_DEFAULT
= wxc
.wxNO_DEFAULT
393 wxMENU_TEAROFF
= wxc
.wxMENU_TEAROFF
394 wxNO_FULL_REPAINT_ON_RESIZE
= wxc
.wxNO_FULL_REPAINT_ON_RESIZE
395 wxDEFAULT
= wxc
.wxDEFAULT
396 wxDECORATIVE
= wxc
.wxDECORATIVE
397 wxROMAN
= wxc
.wxROMAN
398 wxSCRIPT
= wxc
.wxSCRIPT
399 wxSWISS
= wxc
.wxSWISS
400 wxMODERN
= wxc
.wxMODERN
401 wxTELETYPE
= wxc
.wxTELETYPE
402 wxVARIABLE
= wxc
.wxVARIABLE
403 wxFIXED
= wxc
.wxFIXED
404 wxNORMAL
= wxc
.wxNORMAL
405 wxLIGHT
= wxc
.wxLIGHT
407 wxITALIC
= wxc
.wxITALIC
408 wxSLANT
= wxc
.wxSLANT
409 wxSOLID
= wxc
.wxSOLID
411 wxLONG_DASH
= wxc
.wxLONG_DASH
412 wxSHORT_DASH
= wxc
.wxSHORT_DASH
413 wxDOT_DASH
= wxc
.wxDOT_DASH
414 wxUSER_DASH
= wxc
.wxUSER_DASH
415 wxTRANSPARENT
= wxc
.wxTRANSPARENT
416 wxSTIPPLE
= wxc
.wxSTIPPLE
417 wxBDIAGONAL_HATCH
= wxc
.wxBDIAGONAL_HATCH
418 wxCROSSDIAG_HATCH
= wxc
.wxCROSSDIAG_HATCH
419 wxFDIAGONAL_HATCH
= wxc
.wxFDIAGONAL_HATCH
420 wxCROSS_HATCH
= wxc
.wxCROSS_HATCH
421 wxHORIZONTAL_HATCH
= wxc
.wxHORIZONTAL_HATCH
422 wxVERTICAL_HATCH
= wxc
.wxVERTICAL_HATCH
423 wxJOIN_BEVEL
= wxc
.wxJOIN_BEVEL
424 wxJOIN_MITER
= wxc
.wxJOIN_MITER
425 wxJOIN_ROUND
= wxc
.wxJOIN_ROUND
426 wxCAP_ROUND
= wxc
.wxCAP_ROUND
427 wxCAP_PROJECTING
= wxc
.wxCAP_PROJECTING
428 wxCAP_BUTT
= wxc
.wxCAP_BUTT
429 wxCLEAR
= wxc
.wxCLEAR
431 wxINVERT
= wxc
.wxINVERT
432 wxOR_REVERSE
= wxc
.wxOR_REVERSE
433 wxAND_REVERSE
= wxc
.wxAND_REVERSE
436 wxAND_INVERT
= wxc
.wxAND_INVERT
437 wxNO_OP
= wxc
.wxNO_OP
439 wxEQUIV
= wxc
.wxEQUIV
440 wxSRC_INVERT
= wxc
.wxSRC_INVERT
441 wxOR_INVERT
= wxc
.wxOR_INVERT
445 wxSRC_OR
= wxc
.wxSRC_OR
446 wxSRC_AND
= wxc
.wxSRC_AND
447 WXK_BACK
= wxc
.WXK_BACK
448 WXK_TAB
= wxc
.WXK_TAB
449 WXK_RETURN
= wxc
.WXK_RETURN
450 WXK_ESCAPE
= wxc
.WXK_ESCAPE
451 WXK_SPACE
= wxc
.WXK_SPACE
452 WXK_DELETE
= wxc
.WXK_DELETE
453 WXK_START
= wxc
.WXK_START
454 WXK_LBUTTON
= wxc
.WXK_LBUTTON
455 WXK_RBUTTON
= wxc
.WXK_RBUTTON
456 WXK_CANCEL
= wxc
.WXK_CANCEL
457 WXK_MBUTTON
= wxc
.WXK_MBUTTON
458 WXK_CLEAR
= wxc
.WXK_CLEAR
459 WXK_SHIFT
= wxc
.WXK_SHIFT
460 WXK_CONTROL
= wxc
.WXK_CONTROL
461 WXK_MENU
= wxc
.WXK_MENU
462 WXK_PAUSE
= wxc
.WXK_PAUSE
463 WXK_CAPITAL
= wxc
.WXK_CAPITAL
464 WXK_PRIOR
= wxc
.WXK_PRIOR
465 WXK_NEXT
= wxc
.WXK_NEXT
466 WXK_END
= wxc
.WXK_END
467 WXK_HOME
= wxc
.WXK_HOME
468 WXK_LEFT
= wxc
.WXK_LEFT
470 WXK_RIGHT
= wxc
.WXK_RIGHT
471 WXK_DOWN
= wxc
.WXK_DOWN
472 WXK_SELECT
= wxc
.WXK_SELECT
473 WXK_PRINT
= wxc
.WXK_PRINT
474 WXK_EXECUTE
= wxc
.WXK_EXECUTE
475 WXK_SNAPSHOT
= wxc
.WXK_SNAPSHOT
476 WXK_INSERT
= wxc
.WXK_INSERT
477 WXK_HELP
= wxc
.WXK_HELP
478 WXK_NUMPAD0
= wxc
.WXK_NUMPAD0
479 WXK_NUMPAD1
= wxc
.WXK_NUMPAD1
480 WXK_NUMPAD2
= wxc
.WXK_NUMPAD2
481 WXK_NUMPAD3
= wxc
.WXK_NUMPAD3
482 WXK_NUMPAD4
= wxc
.WXK_NUMPAD4
483 WXK_NUMPAD5
= wxc
.WXK_NUMPAD5
484 WXK_NUMPAD6
= wxc
.WXK_NUMPAD6
485 WXK_NUMPAD7
= wxc
.WXK_NUMPAD7
486 WXK_NUMPAD8
= wxc
.WXK_NUMPAD8
487 WXK_NUMPAD9
= wxc
.WXK_NUMPAD9
488 WXK_MULTIPLY
= wxc
.WXK_MULTIPLY
489 WXK_ADD
= wxc
.WXK_ADD
490 WXK_SEPARATOR
= wxc
.WXK_SEPARATOR
491 WXK_SUBTRACT
= wxc
.WXK_SUBTRACT
492 WXK_DECIMAL
= wxc
.WXK_DECIMAL
493 WXK_DIVIDE
= wxc
.WXK_DIVIDE
503 WXK_F10
= wxc
.WXK_F10
504 WXK_F11
= wxc
.WXK_F11
505 WXK_F12
= wxc
.WXK_F12
506 WXK_F13
= wxc
.WXK_F13
507 WXK_F14
= wxc
.WXK_F14
508 WXK_F15
= wxc
.WXK_F15
509 WXK_F16
= wxc
.WXK_F16
510 WXK_F17
= wxc
.WXK_F17
511 WXK_F18
= wxc
.WXK_F18
512 WXK_F19
= wxc
.WXK_F19
513 WXK_F20
= wxc
.WXK_F20
514 WXK_F21
= wxc
.WXK_F21
515 WXK_F22
= wxc
.WXK_F22
516 WXK_F23
= wxc
.WXK_F23
517 WXK_F24
= wxc
.WXK_F24
518 WXK_NUMLOCK
= wxc
.WXK_NUMLOCK
519 WXK_SCROLL
= wxc
.WXK_SCROLL
520 WXK_PAGEUP
= wxc
.WXK_PAGEUP
521 WXK_PAGEDOWN
= wxc
.WXK_PAGEDOWN
522 wxCURSOR_NONE
= wxc
.wxCURSOR_NONE
523 wxCURSOR_ARROW
= wxc
.wxCURSOR_ARROW
524 wxCURSOR_BULLSEYE
= wxc
.wxCURSOR_BULLSEYE
525 wxCURSOR_CHAR
= wxc
.wxCURSOR_CHAR
526 wxCURSOR_CROSS
= wxc
.wxCURSOR_CROSS
527 wxCURSOR_HAND
= wxc
.wxCURSOR_HAND
528 wxCURSOR_IBEAM
= wxc
.wxCURSOR_IBEAM
529 wxCURSOR_LEFT_BUTTON
= wxc
.wxCURSOR_LEFT_BUTTON
530 wxCURSOR_MAGNIFIER
= wxc
.wxCURSOR_MAGNIFIER
531 wxCURSOR_MIDDLE_BUTTON
= wxc
.wxCURSOR_MIDDLE_BUTTON
532 wxCURSOR_NO_ENTRY
= wxc
.wxCURSOR_NO_ENTRY
533 wxCURSOR_PAINT_BRUSH
= wxc
.wxCURSOR_PAINT_BRUSH
534 wxCURSOR_PENCIL
= wxc
.wxCURSOR_PENCIL
535 wxCURSOR_POINT_LEFT
= wxc
.wxCURSOR_POINT_LEFT
536 wxCURSOR_POINT_RIGHT
= wxc
.wxCURSOR_POINT_RIGHT
537 wxCURSOR_QUESTION_ARROW
= wxc
.wxCURSOR_QUESTION_ARROW
538 wxCURSOR_RIGHT_BUTTON
= wxc
.wxCURSOR_RIGHT_BUTTON
539 wxCURSOR_SIZENESW
= wxc
.wxCURSOR_SIZENESW
540 wxCURSOR_SIZENS
= wxc
.wxCURSOR_SIZENS
541 wxCURSOR_SIZENWSE
= wxc
.wxCURSOR_SIZENWSE
542 wxCURSOR_SIZEWE
= wxc
.wxCURSOR_SIZEWE
543 wxCURSOR_SIZING
= wxc
.wxCURSOR_SIZING
544 wxCURSOR_SPRAYCAN
= wxc
.wxCURSOR_SPRAYCAN
545 wxCURSOR_WAIT
= wxc
.wxCURSOR_WAIT
546 wxCURSOR_WATCH
= wxc
.wxCURSOR_WATCH
547 wxCURSOR_BLANK
= wxc
.wxCURSOR_BLANK
548 wxPAPER_NONE
= wxc
.wxPAPER_NONE
549 wxPAPER_LETTER
= wxc
.wxPAPER_LETTER
550 wxPAPER_LEGAL
= wxc
.wxPAPER_LEGAL
551 wxPAPER_A4
= wxc
.wxPAPER_A4
552 wxPAPER_CSHEET
= wxc
.wxPAPER_CSHEET
553 wxPAPER_DSHEET
= wxc
.wxPAPER_DSHEET
554 wxPAPER_ESHEET
= wxc
.wxPAPER_ESHEET
555 wxPAPER_LETTERSMALL
= wxc
.wxPAPER_LETTERSMALL
556 wxPAPER_TABLOID
= wxc
.wxPAPER_TABLOID
557 wxPAPER_LEDGER
= wxc
.wxPAPER_LEDGER
558 wxPAPER_STATEMENT
= wxc
.wxPAPER_STATEMENT
559 wxPAPER_EXECUTIVE
= wxc
.wxPAPER_EXECUTIVE
560 wxPAPER_A3
= wxc
.wxPAPER_A3
561 wxPAPER_A4SMALL
= wxc
.wxPAPER_A4SMALL
562 wxPAPER_A5
= wxc
.wxPAPER_A5
563 wxPAPER_B4
= wxc
.wxPAPER_B4
564 wxPAPER_B5
= wxc
.wxPAPER_B5
565 wxPAPER_FOLIO
= wxc
.wxPAPER_FOLIO
566 wxPAPER_QUARTO
= wxc
.wxPAPER_QUARTO
567 wxPAPER_10X14
= wxc
.wxPAPER_10X14
568 wxPAPER_11X17
= wxc
.wxPAPER_11X17
569 wxPAPER_NOTE
= wxc
.wxPAPER_NOTE
570 wxPAPER_ENV_9
= wxc
.wxPAPER_ENV_9
571 wxPAPER_ENV_10
= wxc
.wxPAPER_ENV_10
572 wxPAPER_ENV_11
= wxc
.wxPAPER_ENV_11
573 wxPAPER_ENV_12
= wxc
.wxPAPER_ENV_12
574 wxPAPER_ENV_14
= wxc
.wxPAPER_ENV_14
575 wxPAPER_ENV_DL
= wxc
.wxPAPER_ENV_DL
576 wxPAPER_ENV_C5
= wxc
.wxPAPER_ENV_C5
577 wxPAPER_ENV_C3
= wxc
.wxPAPER_ENV_C3
578 wxPAPER_ENV_C4
= wxc
.wxPAPER_ENV_C4
579 wxPAPER_ENV_C6
= wxc
.wxPAPER_ENV_C6
580 wxPAPER_ENV_C65
= wxc
.wxPAPER_ENV_C65
581 wxPAPER_ENV_B4
= wxc
.wxPAPER_ENV_B4
582 wxPAPER_ENV_B5
= wxc
.wxPAPER_ENV_B5
583 wxPAPER_ENV_B6
= wxc
.wxPAPER_ENV_B6
584 wxPAPER_ENV_ITALY
= wxc
.wxPAPER_ENV_ITALY
585 wxPAPER_ENV_MONARCH
= wxc
.wxPAPER_ENV_MONARCH
586 wxPAPER_ENV_PERSONAL
= wxc
.wxPAPER_ENV_PERSONAL
587 wxPAPER_FANFOLD_US
= wxc
.wxPAPER_FANFOLD_US
588 wxPAPER_FANFOLD_STD_GERMAN
= wxc
.wxPAPER_FANFOLD_STD_GERMAN
589 wxPAPER_FANFOLD_LGL_GERMAN
= wxc
.wxPAPER_FANFOLD_LGL_GERMAN
590 wxPAPER_ISO_B4
= wxc
.wxPAPER_ISO_B4
591 wxPAPER_JAPANESE_POSTCARD
= wxc
.wxPAPER_JAPANESE_POSTCARD
592 wxPAPER_9X11
= wxc
.wxPAPER_9X11
593 wxPAPER_10X11
= wxc
.wxPAPER_10X11
594 wxPAPER_15X11
= wxc
.wxPAPER_15X11
595 wxPAPER_ENV_INVITE
= wxc
.wxPAPER_ENV_INVITE
596 wxPAPER_LETTER_EXTRA
= wxc
.wxPAPER_LETTER_EXTRA
597 wxPAPER_LEGAL_EXTRA
= wxc
.wxPAPER_LEGAL_EXTRA
598 wxPAPER_TABLOID_EXTRA
= wxc
.wxPAPER_TABLOID_EXTRA
599 wxPAPER_A4_EXTRA
= wxc
.wxPAPER_A4_EXTRA
600 wxPAPER_LETTER_TRANSVERSE
= wxc
.wxPAPER_LETTER_TRANSVERSE
601 wxPAPER_A4_TRANSVERSE
= wxc
.wxPAPER_A4_TRANSVERSE
602 wxPAPER_LETTER_EXTRA_TRANSVERSE
= wxc
.wxPAPER_LETTER_EXTRA_TRANSVERSE
603 wxPAPER_A_PLUS
= wxc
.wxPAPER_A_PLUS
604 wxPAPER_B_PLUS
= wxc
.wxPAPER_B_PLUS
605 wxPAPER_LETTER_PLUS
= wxc
.wxPAPER_LETTER_PLUS
606 wxPAPER_A4_PLUS
= wxc
.wxPAPER_A4_PLUS
607 wxPAPER_A5_TRANSVERSE
= wxc
.wxPAPER_A5_TRANSVERSE
608 wxPAPER_B5_TRANSVERSE
= wxc
.wxPAPER_B5_TRANSVERSE
609 wxPAPER_A3_EXTRA
= wxc
.wxPAPER_A3_EXTRA
610 wxPAPER_A5_EXTRA
= wxc
.wxPAPER_A5_EXTRA
611 wxPAPER_B5_EXTRA
= wxc
.wxPAPER_B5_EXTRA
612 wxPAPER_A2
= wxc
.wxPAPER_A2
613 wxPAPER_A3_TRANSVERSE
= wxc
.wxPAPER_A3_TRANSVERSE
614 wxPAPER_A3_EXTRA_TRANSVERSE
= wxc
.wxPAPER_A3_EXTRA_TRANSVERSE
615 wxDUPLEX_SIMPLEX
= wxc
.wxDUPLEX_SIMPLEX
616 wxDUPLEX_HORIZONTAL
= wxc
.wxDUPLEX_HORIZONTAL
617 wxDUPLEX_VERTICAL
= wxc
.wxDUPLEX_VERTICAL
622 wxVERSION_STRING
= wxc
.wxVERSION_STRING
623 wxEVT_NULL
= wxc
.wxEVT_NULL
624 wxEVT_FIRST
= wxc
.wxEVT_FIRST
625 wxEVT_COMMAND_BUTTON_CLICKED
= wxc
.wxEVT_COMMAND_BUTTON_CLICKED
626 wxEVT_COMMAND_CHECKBOX_CLICKED
= wxc
.wxEVT_COMMAND_CHECKBOX_CLICKED
627 wxEVT_COMMAND_CHOICE_SELECTED
= wxc
.wxEVT_COMMAND_CHOICE_SELECTED
628 wxEVT_COMMAND_LISTBOX_SELECTED
= wxc
.wxEVT_COMMAND_LISTBOX_SELECTED
629 wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
= wxc
.wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
630 wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
= wxc
.wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
631 wxEVT_COMMAND_TEXT_UPDATED
= wxc
.wxEVT_COMMAND_TEXT_UPDATED
632 wxEVT_COMMAND_TEXT_ENTER
= wxc
.wxEVT_COMMAND_TEXT_ENTER
633 wxEVT_COMMAND_MENU_SELECTED
= wxc
.wxEVT_COMMAND_MENU_SELECTED
634 wxEVT_COMMAND_SLIDER_UPDATED
= wxc
.wxEVT_COMMAND_SLIDER_UPDATED
635 wxEVT_COMMAND_RADIOBOX_SELECTED
= wxc
.wxEVT_COMMAND_RADIOBOX_SELECTED
636 wxEVT_COMMAND_RADIOBUTTON_SELECTED
= wxc
.wxEVT_COMMAND_RADIOBUTTON_SELECTED
637 wxEVT_COMMAND_SCROLLBAR_UPDATED
= wxc
.wxEVT_COMMAND_SCROLLBAR_UPDATED
638 wxEVT_COMMAND_VLBOX_SELECTED
= wxc
.wxEVT_COMMAND_VLBOX_SELECTED
639 wxEVT_COMMAND_COMBOBOX_SELECTED
= wxc
.wxEVT_COMMAND_COMBOBOX_SELECTED
640 wxEVT_COMMAND_TOOL_CLICKED
= wxc
.wxEVT_COMMAND_TOOL_CLICKED
641 wxEVT_COMMAND_TOOL_RCLICKED
= wxc
.wxEVT_COMMAND_TOOL_RCLICKED
642 wxEVT_COMMAND_TOOL_ENTER
= wxc
.wxEVT_COMMAND_TOOL_ENTER
643 wxEVT_SET_FOCUS
= wxc
.wxEVT_SET_FOCUS
644 wxEVT_KILL_FOCUS
= wxc
.wxEVT_KILL_FOCUS
645 wxEVT_LEFT_DOWN
= wxc
.wxEVT_LEFT_DOWN
646 wxEVT_LEFT_UP
= wxc
.wxEVT_LEFT_UP
647 wxEVT_MIDDLE_DOWN
= wxc
.wxEVT_MIDDLE_DOWN
648 wxEVT_MIDDLE_UP
= wxc
.wxEVT_MIDDLE_UP
649 wxEVT_RIGHT_DOWN
= wxc
.wxEVT_RIGHT_DOWN
650 wxEVT_RIGHT_UP
= wxc
.wxEVT_RIGHT_UP
651 wxEVT_MOTION
= wxc
.wxEVT_MOTION
652 wxEVT_ENTER_WINDOW
= wxc
.wxEVT_ENTER_WINDOW
653 wxEVT_LEAVE_WINDOW
= wxc
.wxEVT_LEAVE_WINDOW
654 wxEVT_LEFT_DCLICK
= wxc
.wxEVT_LEFT_DCLICK
655 wxEVT_MIDDLE_DCLICK
= wxc
.wxEVT_MIDDLE_DCLICK
656 wxEVT_RIGHT_DCLICK
= wxc
.wxEVT_RIGHT_DCLICK
657 wxEVT_NC_LEFT_DOWN
= wxc
.wxEVT_NC_LEFT_DOWN
658 wxEVT_NC_LEFT_UP
= wxc
.wxEVT_NC_LEFT_UP
659 wxEVT_NC_MIDDLE_DOWN
= wxc
.wxEVT_NC_MIDDLE_DOWN
660 wxEVT_NC_MIDDLE_UP
= wxc
.wxEVT_NC_MIDDLE_UP
661 wxEVT_NC_RIGHT_DOWN
= wxc
.wxEVT_NC_RIGHT_DOWN
662 wxEVT_NC_RIGHT_UP
= wxc
.wxEVT_NC_RIGHT_UP
663 wxEVT_NC_MOTION
= wxc
.wxEVT_NC_MOTION
664 wxEVT_NC_ENTER_WINDOW
= wxc
.wxEVT_NC_ENTER_WINDOW
665 wxEVT_NC_LEAVE_WINDOW
= wxc
.wxEVT_NC_LEAVE_WINDOW
666 wxEVT_NC_LEFT_DCLICK
= wxc
.wxEVT_NC_LEFT_DCLICK
667 wxEVT_NC_MIDDLE_DCLICK
= wxc
.wxEVT_NC_MIDDLE_DCLICK
668 wxEVT_NC_RIGHT_DCLICK
= wxc
.wxEVT_NC_RIGHT_DCLICK
669 wxEVT_CHAR
= wxc
.wxEVT_CHAR
670 wxEVT_KEY_DOWN
= wxc
.wxEVT_KEY_DOWN
671 wxEVT_KEY_UP
= wxc
.wxEVT_KEY_UP
672 wxEVT_CHAR_HOOK
= wxc
.wxEVT_CHAR_HOOK
673 wxEVT_SCROLL_TOP
= wxc
.wxEVT_SCROLL_TOP
674 wxEVT_SCROLL_BOTTOM
= wxc
.wxEVT_SCROLL_BOTTOM
675 wxEVT_SCROLL_LINEUP
= wxc
.wxEVT_SCROLL_LINEUP
676 wxEVT_SCROLL_LINEDOWN
= wxc
.wxEVT_SCROLL_LINEDOWN
677 wxEVT_SCROLL_PAGEUP
= wxc
.wxEVT_SCROLL_PAGEUP
678 wxEVT_SCROLL_PAGEDOWN
= wxc
.wxEVT_SCROLL_PAGEDOWN
679 wxEVT_SCROLL_THUMBTRACK
= wxc
.wxEVT_SCROLL_THUMBTRACK
680 wxEVT_SCROLLWIN_TOP
= wxc
.wxEVT_SCROLLWIN_TOP
681 wxEVT_SCROLLWIN_BOTTOM
= wxc
.wxEVT_SCROLLWIN_BOTTOM
682 wxEVT_SCROLLWIN_LINEUP
= wxc
.wxEVT_SCROLLWIN_LINEUP
683 wxEVT_SCROLLWIN_LINEDOWN
= wxc
.wxEVT_SCROLLWIN_LINEDOWN
684 wxEVT_SCROLLWIN_PAGEUP
= wxc
.wxEVT_SCROLLWIN_PAGEUP
685 wxEVT_SCROLLWIN_PAGEDOWN
= wxc
.wxEVT_SCROLLWIN_PAGEDOWN
686 wxEVT_SCROLLWIN_THUMBTRACK
= wxc
.wxEVT_SCROLLWIN_THUMBTRACK
687 wxEVT_SIZE
= wxc
.wxEVT_SIZE
688 wxEVT_MOVE
= wxc
.wxEVT_MOVE
689 wxEVT_CLOSE_WINDOW
= wxc
.wxEVT_CLOSE_WINDOW
690 wxEVT_END_SESSION
= wxc
.wxEVT_END_SESSION
691 wxEVT_QUERY_END_SESSION
= wxc
.wxEVT_QUERY_END_SESSION
692 wxEVT_ACTIVATE_APP
= wxc
.wxEVT_ACTIVATE_APP
693 wxEVT_POWER
= wxc
.wxEVT_POWER
694 wxEVT_ACTIVATE
= wxc
.wxEVT_ACTIVATE
695 wxEVT_CREATE
= wxc
.wxEVT_CREATE
696 wxEVT_DESTROY
= wxc
.wxEVT_DESTROY
697 wxEVT_SHOW
= wxc
.wxEVT_SHOW
698 wxEVT_ICONIZE
= wxc
.wxEVT_ICONIZE
699 wxEVT_MAXIMIZE
= wxc
.wxEVT_MAXIMIZE
700 wxEVT_MOUSE_CAPTURE_CHANGED
= wxc
.wxEVT_MOUSE_CAPTURE_CHANGED
701 wxEVT_PAINT
= wxc
.wxEVT_PAINT
702 wxEVT_ERASE_BACKGROUND
= wxc
.wxEVT_ERASE_BACKGROUND
703 wxEVT_NC_PAINT
= wxc
.wxEVT_NC_PAINT
704 wxEVT_PAINT_ICON
= wxc
.wxEVT_PAINT_ICON
705 wxEVT_MENU_CHAR
= wxc
.wxEVT_MENU_CHAR
706 wxEVT_MENU_INIT
= wxc
.wxEVT_MENU_INIT
707 wxEVT_MENU_HIGHLIGHT
= wxc
.wxEVT_MENU_HIGHLIGHT
708 wxEVT_POPUP_MENU_INIT
= wxc
.wxEVT_POPUP_MENU_INIT
709 wxEVT_CONTEXT_MENU
= wxc
.wxEVT_CONTEXT_MENU
710 wxEVT_SYS_COLOUR_CHANGED
= wxc
.wxEVT_SYS_COLOUR_CHANGED
711 wxEVT_SETTING_CHANGED
= wxc
.wxEVT_SETTING_CHANGED
712 wxEVT_QUERY_NEW_PALETTE
= wxc
.wxEVT_QUERY_NEW_PALETTE
713 wxEVT_PALETTE_CHANGED
= wxc
.wxEVT_PALETTE_CHANGED
714 wxEVT_JOY_BUTTON_DOWN
= wxc
.wxEVT_JOY_BUTTON_DOWN
715 wxEVT_JOY_BUTTON_UP
= wxc
.wxEVT_JOY_BUTTON_UP
716 wxEVT_JOY_MOVE
= wxc
.wxEVT_JOY_MOVE
717 wxEVT_JOY_ZMOVE
= wxc
.wxEVT_JOY_ZMOVE
718 wxEVT_DROP_FILES
= wxc
.wxEVT_DROP_FILES
719 wxEVT_DRAW_ITEM
= wxc
.wxEVT_DRAW_ITEM
720 wxEVT_MEASURE_ITEM
= wxc
.wxEVT_MEASURE_ITEM
721 wxEVT_COMPARE_ITEM
= wxc
.wxEVT_COMPARE_ITEM
722 wxEVT_INIT_DIALOG
= wxc
.wxEVT_INIT_DIALOG
723 wxEVT_IDLE
= wxc
.wxEVT_IDLE
724 wxEVT_UPDATE_UI
= wxc
.wxEVT_UPDATE_UI
725 wxEVT_COMMAND_LEFT_CLICK
= wxc
.wxEVT_COMMAND_LEFT_CLICK
726 wxEVT_COMMAND_LEFT_DCLICK
= wxc
.wxEVT_COMMAND_LEFT_DCLICK
727 wxEVT_COMMAND_RIGHT_CLICK
= wxc
.wxEVT_COMMAND_RIGHT_CLICK
728 wxEVT_COMMAND_RIGHT_DCLICK
= wxc
.wxEVT_COMMAND_RIGHT_DCLICK
729 wxEVT_COMMAND_SET_FOCUS
= wxc
.wxEVT_COMMAND_SET_FOCUS
730 wxEVT_COMMAND_KILL_FOCUS
= wxc
.wxEVT_COMMAND_KILL_FOCUS
731 wxEVT_COMMAND_ENTER
= wxc
.wxEVT_COMMAND_ENTER
732 wxEVT_COMMAND_TREE_BEGIN_DRAG
= wxc
.wxEVT_COMMAND_TREE_BEGIN_DRAG
733 wxEVT_COMMAND_TREE_BEGIN_RDRAG
= wxc
.wxEVT_COMMAND_TREE_BEGIN_RDRAG
734 wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
= wxc
.wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
735 wxEVT_COMMAND_TREE_END_LABEL_EDIT
= wxc
.wxEVT_COMMAND_TREE_END_LABEL_EDIT
736 wxEVT_COMMAND_TREE_DELETE_ITEM
= wxc
.wxEVT_COMMAND_TREE_DELETE_ITEM
737 wxEVT_COMMAND_TREE_GET_INFO
= wxc
.wxEVT_COMMAND_TREE_GET_INFO
738 wxEVT_COMMAND_TREE_SET_INFO
= wxc
.wxEVT_COMMAND_TREE_SET_INFO
739 wxEVT_COMMAND_TREE_ITEM_EXPANDED
= wxc
.wxEVT_COMMAND_TREE_ITEM_EXPANDED
740 wxEVT_COMMAND_TREE_ITEM_EXPANDING
= wxc
.wxEVT_COMMAND_TREE_ITEM_EXPANDING
741 wxEVT_COMMAND_TREE_ITEM_COLLAPSED
= wxc
.wxEVT_COMMAND_TREE_ITEM_COLLAPSED
742 wxEVT_COMMAND_TREE_ITEM_COLLAPSING
= wxc
.wxEVT_COMMAND_TREE_ITEM_COLLAPSING
743 wxEVT_COMMAND_TREE_SEL_CHANGED
= wxc
.wxEVT_COMMAND_TREE_SEL_CHANGED
744 wxEVT_COMMAND_TREE_SEL_CHANGING
= wxc
.wxEVT_COMMAND_TREE_SEL_CHANGING
745 wxEVT_COMMAND_TREE_KEY_DOWN
= wxc
.wxEVT_COMMAND_TREE_KEY_DOWN
746 wxEVT_COMMAND_LIST_BEGIN_DRAG
= wxc
.wxEVT_COMMAND_LIST_BEGIN_DRAG
747 wxEVT_COMMAND_LIST_BEGIN_RDRAG
= wxc
.wxEVT_COMMAND_LIST_BEGIN_RDRAG
748 wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
= wxc
.wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
749 wxEVT_COMMAND_LIST_END_LABEL_EDIT
= wxc
.wxEVT_COMMAND_LIST_END_LABEL_EDIT
750 wxEVT_COMMAND_LIST_DELETE_ITEM
= wxc
.wxEVT_COMMAND_LIST_DELETE_ITEM
751 wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
= wxc
.wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
752 wxEVT_COMMAND_LIST_GET_INFO
= wxc
.wxEVT_COMMAND_LIST_GET_INFO
753 wxEVT_COMMAND_LIST_SET_INFO
= wxc
.wxEVT_COMMAND_LIST_SET_INFO
754 wxEVT_COMMAND_LIST_ITEM_SELECTED
= wxc
.wxEVT_COMMAND_LIST_ITEM_SELECTED
755 wxEVT_COMMAND_LIST_ITEM_DESELECTED
= wxc
.wxEVT_COMMAND_LIST_ITEM_DESELECTED
756 wxEVT_COMMAND_LIST_KEY_DOWN
= wxc
.wxEVT_COMMAND_LIST_KEY_DOWN
757 wxEVT_COMMAND_LIST_INSERT_ITEM
= wxc
.wxEVT_COMMAND_LIST_INSERT_ITEM
758 wxEVT_COMMAND_LIST_COL_CLICK
= wxc
.wxEVT_COMMAND_LIST_COL_CLICK
759 wxEVT_COMMAND_LIST_ITEM_ACTIVATED
= wxc
.wxEVT_COMMAND_LIST_ITEM_ACTIVATED
760 wxEVT_COMMAND_TAB_SEL_CHANGED
= wxc
.wxEVT_COMMAND_TAB_SEL_CHANGED
761 wxEVT_COMMAND_TAB_SEL_CHANGING
= wxc
.wxEVT_COMMAND_TAB_SEL_CHANGING
762 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
= wxc
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
763 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
= wxc
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
764 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= wxc
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
765 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= wxc
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
766 wxEVT_COMMAND_SPLITTER_UNSPLIT
= wxc
.wxEVT_COMMAND_SPLITTER_UNSPLIT
767 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= wxc
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
768 __version__
= wxc
.__version
__
770 wxPyDefaultPosition
= wxPointPtr(wxc
.cvar
.wxPyDefaultPosition
)
771 wxPyDefaultSize
= wxSizePtr(wxc
.cvar
.wxPyDefaultSize
)
774 #-------------- USER INCLUDE -----------------------
776 #----------------------------------------------------------------------------
778 # Purpose: This file is appended to the shadow class file generated
779 # by SWIG. We add some unSWIGable things here.
785 # Copyright: (c) 1998 by Total Control Software
786 # Licence: wxWindows license
787 #----------------------------------------------------------------------------
791 #----------------------------------------------------------------------
792 # This gives this module's dictionary to the C++ extension code...
794 _wxSetDictionary(vars())
797 #----------------------------------------------------------------------
798 #----------------------------------------------------------------------
799 # Helper function to link python methods to wxWindows virtual
802 def _checkForCallback(obj
, name
, event
, theID
=-1):
803 try: cb
= getattr(obj
, name
)
805 else: obj
.Connect(theID
, -1, event
, cb
)
807 ## def _checkClassCallback(obj, name):
808 ## try: cb = getattr(obj, name)
810 ## else: obj._addCallback(name, cb)
813 def _StdWindowCallbacks(win
):
814 _checkForCallback(win
, "OnChar", wxEVT_CHAR
)
815 _checkForCallback(win
, "OnSize", wxEVT_SIZE
)
816 _checkForCallback(win
, "OnEraseBackground", wxEVT_ERASE_BACKGROUND
)
817 _checkForCallback(win
, "OnSysColourChanged", wxEVT_SYS_COLOUR_CHANGED
)
818 _checkForCallback(win
, "OnInitDialog", wxEVT_INIT_DIALOG
)
819 _checkForCallback(win
, "OnPaint", wxEVT_PAINT
)
820 _checkForCallback(win
, "OnIdle", wxEVT_IDLE
)
823 def _StdFrameCallbacks(win
):
824 _StdWindowCallbacks(win
)
825 _checkForCallback(win
, "OnActivate", wxEVT_ACTIVATE
)
826 _checkForCallback(win
, "OnMenuHighlight", wxEVT_MENU_HIGHLIGHT
)
827 _checkForCallback(win
, "OnCloseWindow", wxEVT_CLOSE_WINDOW
)
830 def _StdDialogCallbacks(win
):
831 _StdWindowCallbacks(win
)
832 _checkForCallback(win
, "OnOk", wxEVT_COMMAND_BUTTON_CLICKED
, wxID_OK
)
833 _checkForCallback(win
, "OnApply", wxEVT_COMMAND_BUTTON_CLICKED
, wxID_APPLY
)
834 _checkForCallback(win
, "OnCancel", wxEVT_COMMAND_BUTTON_CLICKED
, wxID_CANCEL
)
835 _checkForCallback(win
, "OnCloseWindow", wxEVT_CLOSE_WINDOW
)
836 _checkForCallback(win
, "OnCharHook", wxEVT_CHAR_HOOK
)
839 def _StdOnScrollCallbacks(win
):
840 try: cb
= getattr(win
, "OnScroll")
842 else: EVT_SCROLL(win
, cb
)
846 #----------------------------------------------------------------------
847 #----------------------------------------------------------------------
848 # functions that look and act like the C++ Macros of the same name
852 def EVT_SIZE(win
, func
):
853 win
.Connect(-1, -1, wxEVT_SIZE
, func
)
855 def EVT_MOVE(win
, func
):
856 win
.Connect(-1, -1, wxEVT_MOVE
, func
)
858 def EVT_CLOSE(win
, func
):
859 win
.Connect(-1, -1, wxEVT_CLOSE_WINDOW
, func
)
861 def EVT_PAINT(win
, func
):
862 win
.Connect(-1, -1, wxEVT_PAINT
, func
)
864 def EVT_ERASE_BACKGROUND(win
, func
):
865 win
.Connect(-1, -1, wxEVT_ERASE_BACKGROUND
, func
)
867 def EVT_CHAR(win
, func
):
868 win
.Connect(-1, -1, wxEVT_CHAR
, func
)
870 def EVT_CHAR_HOOK(win
, func
):
871 win
.Connect(-1, -1, wxEVT_CHAR_HOOK
, func
)
873 def EVT_KEY_DOWN(win
, func
):
874 win
.Connect(-1, -1, wxEVT_KEY_DOWN
, func
)
876 def EVT_KEY_UP(win
, func
):
877 win
.Connect(-1, -1, wxEVT_KEY_UP
, func
)
879 def EVT_MENU_HIGHLIGHT(win
, id, func
):
880 win
.Connect(id, -1, wxEVT_MENU_HIGHLIGHT
, func
)
882 def EVT_MENU_HIGHLIGHT_ALL(win
, func
):
883 win
.Connect(-1, -1, wxEVT_MENU_HIGHLIGHT
, func
)
885 def EVT_SET_FOCUS(win
, func
):
886 win
.Connect(-1, -1, wxEVT_SET_FOCUS
, func
)
888 def EVT_KILL_FOCUS(win
, func
):
889 win
.Connect(-1, -1, wxEVT_KILL_FOCUS
, func
)
891 def EVT_ACTIVATE(win
, func
):
892 win
.Connect(-1, -1, wxEVT_ACTIVATE
, func
)
894 def EVT_ACTIVATE_APP(win
, func
):
895 win
.Connect(-1, -1, wxEVT_ACTIVATE_APP
, func
)
897 def EVT_END_SESSION(win
, func
):
898 win
.Connect(-1, -1, wxEVT_END_SESSION
, func
)
900 def EVT_QUERY_END_SESSION(win
, func
):
901 win
.Connect(-1, -1, wxEVT_QUERY_END_SESSION
, func
)
903 def EVT_DROP_FILES(win
, func
):
904 win
.Connect(-1, -1, wxEVT_DROP_FILES
, func
)
906 def EVT_INIT_DIALOG(win
, func
):
907 win
.Connect(-1, -1, wxEVT_INIT_DIALOG
, func
)
909 def EVT_SYS_COLOUR_CHANGED(win
, func
):
910 win
.Connect(-1, -1, wxEVT_SYS_COLOUR_CHANGED
, func
)
912 def EVT_SHOW(win
, func
):
913 win
.Connect(-1, -1, wxEVT_SHOW
, func
)
915 def EVT_MAXIMIZE(win
, func
):
916 win
.Connect(-1, -1, wxEVT_MAXIMIZE
, func
)
918 def EVT_ICONIZE(win
, func
):
919 win
.Connect(-1, -1, wxEVT_ICONIZE
, func
)
921 def EVT_NAVIGATION_KEY(win
, func
):
922 win
.Connect(-1, -1, wxEVT_NAVIGATION_KEY
, func
)
924 def EVT_IDLE(win
, func
):
925 win
.Connect(-1, -1, wxEVT_IDLE
, func
)
927 def EVT_UPDATE_UI(win
, id, func
):
928 win
.Connect(id, -1, wxEVT_UPDATE_UI
, func
)
932 def EVT_LEFT_DOWN(win
, func
):
933 win
.Connect(-1, -1, wxEVT_LEFT_DOWN
, func
)
935 def EVT_LEFT_UP(win
, func
):
936 win
.Connect(-1, -1, wxEVT_LEFT_UP
, func
)
938 def EVT_MIDDLE_DOWN(win
, func
):
939 win
.Connect(-1, -1, wxEVT_MIDDLE_DOWN
, func
)
941 def EVT_MIDDLE_UP(win
, func
):
942 win
.Connect(-1, -1, wxEVT_MIDDLE_UP
, func
)
944 def EVT_RIGHT_DOWN(win
, func
):
945 win
.Connect(-1, -1, wxEVT_RIGHT_DOWN
, func
)
947 def EVT_RIGHT_UP(win
, func
):
948 win
.Connect(-1, -1, wxEVT_RIGHT_UP
, func
)
950 def EVT_MOTION(win
, func
):
951 win
.Connect(-1, -1, wxEVT_MOTION
, func
)
953 def EVT_LEFT_DCLICK(win
, func
):
954 win
.Connect(-1, -1, wxEVT_LEFT_DCLICK
, func
)
956 def EVT_MIDDLE_DCLICK(win
, func
):
957 win
.Connect(-1, -1, wxEVT_MIDDLE_DCLICK
, func
)
959 def EVT_RIGHT_DCLICK(win
, func
):
960 win
.Connect(-1, -1, wxEVT_RIGHT_DCLICK
, func
)
962 def EVT_LEAVE_WINDOW(win
, func
):
963 win
.Connect(-1, -1, wxEVT_LEAVE_WINDOW
, func
)
965 def EVT_ENTER_WINDOW(win
, func
):
966 win
.Connect(-1, -1, wxEVT_ENTER_WINDOW
, func
)
970 def EVT_MOUSE_EVENTS(win
, func
):
971 win
.Connect(-1, -1, wxEVT_LEFT_DOWN
, func
)
972 win
.Connect(-1, -1, wxEVT_LEFT_UP
, func
)
973 win
.Connect(-1, -1, wxEVT_MIDDLE_DOWN
, func
)
974 win
.Connect(-1, -1, wxEVT_MIDDLE_UP
, func
)
975 win
.Connect(-1, -1, wxEVT_RIGHT_DOWN
, func
)
976 win
.Connect(-1, -1, wxEVT_RIGHT_UP
, func
)
977 win
.Connect(-1, -1, wxEVT_MOTION
, func
)
978 win
.Connect(-1, -1, wxEVT_LEFT_DCLICK
, func
)
979 win
.Connect(-1, -1, wxEVT_MIDDLE_DCLICK
, func
)
980 win
.Connect(-1, -1, wxEVT_RIGHT_DCLICK
, func
)
981 win
.Connect(-1, -1, wxEVT_LEAVE_WINDOW
, func
)
982 win
.Connect(-1, -1, wxEVT_ENTER_WINDOW
, func
)
985 def EVT_COMMAND(win
, id, cmd
, func
):
986 win
.Connect(id, -1, cmd
, func
)
988 def EVT_COMMAND_RANGE(win
, id1
, id2
, cmd
, func
):
989 win
.Connect(id1
, id2
, cmd
, func
)
992 def EVT_SCROLL(win
, func
):
993 win
.Connect(-1, -1, wxEVT_SCROLL_TOP
, func
)
994 win
.Connect(-1, -1, wxEVT_SCROLL_BOTTOM
, func
)
995 win
.Connect(-1, -1, wxEVT_SCROLL_LINEUP
, func
)
996 win
.Connect(-1, -1, wxEVT_SCROLL_LINEDOWN
, func
)
997 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEUP
, func
)
998 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
999 win
.Connect(-1, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
1001 def EVT_SCROLL_TOP(win
, func
):
1002 win
.Connect(-1, -1, wxEVT_SCROLL_TOP
, func
)
1004 def EVT_SCROLL_BOTTOM(win
, func
):
1005 win
.Connect(-1, -1, wxEVT_SCROLL_BOTTOM
, func
)
1007 def EVT_SCROLL_LINEUP(win
, func
):
1008 win
.Connect(-1, -1, wxEVT_SCROLL_LINEUP
, func
)
1010 def EVT_SCROLL_LINEDOWN(win
, func
):
1011 win
.Connect(-1, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1013 def EVT_SCROLL_PAGEUP(win
, func
):
1014 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEUP
, func
)
1016 def EVT_SCROLL_PAGEDOWN(win
, func
):
1017 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
1019 def EVT_SCROLL_THUMBTRACK(win
, func
):
1020 win
.Connect(-1, -1, wxEVT_SCROLL_THUMBTRACK
, func
)
1024 # Scrolling, with an id
1025 def EVT_COMMAND_SCROLL(win
, id, func
):
1026 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
1027 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
1028 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1029 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1030 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
1031 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
1032 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
1034 def EVT_COMMAND_SCROLL_TOP(win
, id, func
):
1035 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
1037 def EVT_COMMAND_SCROLL_BOTTOM(win
, id, func
):
1038 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
1040 def EVT_COMMAND_SCROLL_LINEUP(win
, id, func
):
1041 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1043 def EVT_COMMAND_SCROLL_LINEDOWN(win
, id, func
):
1044 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1046 def EVT_COMMAND_SCROLL_PAGEUP(win
, id, func
):
1047 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
1049 def EVT_COMMAND_SCROLL_PAGEDOWN(win
, id, func
):
1050 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
1052 def EVT_COMMAND_SCROLL_THUMBTRACK(win
, id, func
):
1053 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
, func
)
1056 # Convenience commands
1057 def EVT_BUTTON(win
, id, func
):
1058 win
.Connect(id, -1, wxEVT_COMMAND_BUTTON_CLICKED
, func
)
1060 def EVT_CHECKBOX(win
, id, func
):
1061 win
.Connect(id, -1, wxEVT_COMMAND_CHECKBOX_CLICKED
, func
)
1063 def EVT_CHOICE(win
, id, func
):
1064 win
.Connect(id, -1, wxEVT_COMMAND_CHOICE_SELECTED
, func
)
1066 def EVT_LISTBOX(win
, id, func
):
1067 win
.Connect(id, -1, wxEVT_COMMAND_LISTBOX_SELECTED
, func
)
1069 def EVT_LISTBOX_DCLICK(win
, id, func
):
1070 win
.Connect(id, -1, wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, func
)
1072 def EVT_TEXT(win
, id, func
):
1073 win
.Connect(id, -1, wxEVT_COMMAND_TEXT_UPDATED
, func
)
1075 def EVT_TEXT_ENTER(win
, id, func
):
1076 win
.Connect(id, -1, wxEVT_COMMAND_TEXT_ENTER
, func
)
1078 def EVT_MENU(win
, id, func
):
1079 win
.Connect(id, -1, wxEVT_COMMAND_MENU_SELECTED
, func
)
1081 def EVT_MENU_RANGE(win
, id1
, id2
, func
):
1082 win
.Connect(id1
, id2
, wxEVT_COMMAND_MENU_SELECTED
, func
)
1084 def EVT_SLIDER(win
, id, func
):
1085 win
.Connect(id, -1, wxEVT_COMMAND_SLIDER_UPDATED
, func
)
1087 def EVT_RADIOBOX(win
, id, func
):
1088 win
.Connect(id, -1, wxEVT_COMMAND_RADIOBOX_SELECTED
, func
)
1090 def EVT_RADIOBUTTON(win
, id, func
):
1091 win
.Connect(id, -1, wxEVT_COMMAND_RADIOBUTTON_SELECTED
, func
)
1093 def EVT_VLBOX(win
, id, func
):
1094 win
.Connect(id, -1, wxEVT_COMMAND_VLBOX_SELECTED
, func
)
1096 def EVT_COMBOBOX(win
, id, func
):
1097 win
.Connect(id, -1, wxEVT_COMMAND_COMBOBOX_SELECTED
, func
)
1099 def EVT_TOOL(win
, id, func
):
1100 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_CLICKED
, func
)
1102 def EVT_TOOL_RCLICKED(win
, id, func
):
1103 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_RCLICKED
, func
)
1105 def EVT_TOOL_ENTER(win
, id, func
):
1106 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_ENTER
, func
)
1108 def EVT_CHECKLISTBOX(win
, id, func
):
1109 win
.Connect(id, -1, wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, func
)
1112 # Generic command events
1114 def EVT_COMMAND_LEFT_CLICK(win
, id, func
):
1115 win
.Connect(id, -1, wxEVT_COMMAND_LEFT_CLICK
, func
)
1117 def EVT_COMMAND_LEFT_DCLICK(win
, id, func
):
1118 win
.Connect(id, -1, wxEVT_COMMAND_LEFT_DCLICK
, func
)
1120 def EVT_COMMAND_RIGHT_CLICK(win
, id, func
):
1121 win
.Connect(id, -1, wxEVT_COMMAND_RIGHT_CLICK
, func
)
1123 def EVT_COMMAND_RIGHT_DCLICK(win
, id, func
):
1124 win
.Connect(id, -1, wxEVT_COMMAND_RIGHT_DCLICK
, func
)
1126 def EVT_COMMAND_SET_FOCUS(win
, id, func
):
1127 win
.Connect(id, -1, wxEVT_COMMAND_SET_FOCUS
, func
)
1129 def EVT_COMMAND_KILL_FOCUS(win
, id, func
):
1130 win
.Connect(id, -1, wxEVT_COMMAND_KILL_FOCUS
, func
)
1132 def EVT_COMMAND_ENTER(win
, id, func
):
1133 win
.Connect(id, -1, wxEVT_COMMAND_ENTER
, func
)
1137 def EVT_NOTEBOOK_PAGE_CHANGED(win
, id, func
):
1138 win
.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, func
)
1140 def EVT_NOTEBOOK_PAGE_CHANGING(win
, id, func
):
1141 win
.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, func
)
1145 def EVT_TREE_BEGIN_DRAG(win
, id, func
):
1146 win
.Connect(id, -1, wxEVT_COMMAND_TREE_BEGIN_DRAG
, func
)
1148 def EVT_TREE_BEGIN_RDRAG(win
, id, func
):
1149 win
.Connect(id, -1, wxEVT_COMMAND_TREE_BEGIN_RDRAG
, func
)
1151 def EVT_TREE_BEGIN_LABEL_EDIT(win
, id, func
):
1152 win
.Connect(id, -1, wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, func
)
1154 def EVT_TREE_END_LABEL_EDIT(win
, id, func
):
1155 win
.Connect(id, -1, wxEVT_COMMAND_TREE_END_LABEL_EDIT
, func
)
1157 def EVT_TREE_GET_INFO(win
, id, func
):
1158 win
.Connect(id, -1, wxEVT_COMMAND_TREE_GET_INFO
, func
)
1160 def EVT_TREE_SET_INFO(win
, id, func
):
1161 win
.Connect(id, -1, wxEVT_COMMAND_TREE_SET_INFO
, func
)
1163 def EVT_TREE_ITEM_EXPANDED(win
, id, func
):
1164 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_EXPANDED
, func
)
1166 def EVT_TREE_ITEM_EXPANDING(win
, id, func
):
1167 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_EXPANDING
, func
)
1169 def EVT_TREE_ITEM_COLLAPSED(win
, id, func
):
1170 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, func
)
1172 def EVT_TREE_ITEM_COLLAPSING(win
, id, func
):
1173 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, func
)
1175 def EVT_TREE_SEL_CHANGED(win
, id, func
):
1176 win
.Connect(id, -1, wxEVT_COMMAND_TREE_SEL_CHANGED
, func
)
1178 def EVT_TREE_SEL_CHANGING(win
, id, func
):
1179 win
.Connect(id, -1, wxEVT_COMMAND_TREE_SEL_CHANGING
, func
)
1181 def EVT_TREE_KEY_DOWN(win
, id, func
):
1182 win
.Connect(id, -1, wxEVT_COMMAND_TREE_KEY_DOWN
, func
)
1184 def EVT_TREE_DELETE_ITEM(win
, id, func
):
1185 win
.Connect(id, -1, wxEVT_COMMAND_TREE_DELETE_ITEM
, func
)
1189 def EVT_SPIN_UP(win
, id, func
):
1190 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1192 def EVT_SPIN_DOWN(win
, id, func
):
1193 win
.Connect(id, -1,wxEVT_SCROLL_LINEDOWN
, func
)
1195 def EVT_SPIN(win
, id, func
):
1196 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
1197 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
1198 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1199 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1200 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
1201 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
1202 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
1208 def EVT_TASKBAR_MOVE(win
, func
):
1209 win
.Connect(-1, -1, wxEVT_TASKBAR_MOVE
, func
)
1211 def EVT_TASKBAR_LEFT_DOWN(win
, func
):
1212 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_DOWN
, func
)
1214 def EVT_TASKBAR_LEFT_UP(win
, func
):
1215 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_UP
, func
)
1217 def EVT_TASKBAR_RIGHT_DOWN(win
, func
):
1218 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_DOWN
, func
)
1220 def EVT_TASKBAR_RIGHT_UP(win
, func
):
1221 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_UP
, func
)
1223 def EVT_TASKBAR_LEFT_DCLICK(win
, func
):
1224 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_DCLICK
, func
)
1226 def EVT_TASKBAR_RIGHT_DCLICK(win
, func
):
1227 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_DCLICK
, func
)
1231 def EVT_GRID_SELECT_CELL(win
, fn
):
1232 win
.Connect(-1, -1, wxEVT_GRID_SELECT_CELL
, fn
)
1234 def EVT_GRID_CREATE_CELL(win
, fn
):
1235 win
.Connect(-1, -1, wxEVT_GRID_CREATE_CELL
, fn
)
1237 def EVT_GRID_CHANGE_LABELS(win
, fn
):
1238 win
.Connect(-1, -1, wxEVT_GRID_CHANGE_LABELS
, fn
)
1240 def EVT_GRID_CHANGE_SEL_LABEL(win
, fn
):
1241 win
.Connect(-1, -1, wxEVT_GRID_CHANGE_SEL_LABEL
, fn
)
1243 def EVT_GRID_CELL_CHANGE(win
, fn
):
1244 win
.Connect(-1, -1, wxEVT_GRID_CELL_CHANGE
, fn
)
1246 def EVT_GRID_CELL_LCLICK(win
, fn
):
1247 win
.Connect(-1, -1, wxEVT_GRID_CELL_LCLICK
, fn
)
1249 def EVT_GRID_CELL_RCLICK(win
, fn
):
1250 win
.Connect(-1, -1, wxEVT_GRID_CELL_RCLICK
, fn
)
1252 def EVT_GRID_LABEL_LCLICK(win
, fn
):
1253 win
.Connect(-1, -1, wxEVT_GRID_LABEL_LCLICK
, fn
)
1255 def EVT_GRID_LABEL_RCLICK(win
, fn
):
1256 win
.Connect(-1, -1, wxEVT_GRID_LABEL_RCLICK
, fn
)
1260 def EVT_SASH_DRAGGED(win
, id, func
):
1261 win
.Connect(id, -1, wxEVT_SASH_DRAGGED
, func
)
1263 def EVT_SASH_DRAGGED_RANGE(win
, id1
, id2
, func
):
1264 win
.Connect(id1
, id2
, wxEVT_SASH_DRAGGED
, func
)
1266 def EVT_QUERY_LAYOUT_INFO(win
, func
):
1267 win
.Connect(-1, -1, wxEVT_EVT_QUERY_LAYOUT_INFO
, func
)
1269 def EVT_CALCULATE_LAYOUT(win
, func
):
1270 win
.Connect(-1, -1, wxEVT_EVT_CALCULATE_LAYOUT
, func
)
1274 def EVT_LIST_BEGIN_DRAG(win
, id, func
):
1275 win
.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_DRAG
, func
)
1277 def EVT_LIST_BEGIN_RDRAG(win
, id, func
):
1278 win
.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_RDRAG
, func
)
1280 def EVT_LIST_BEGIN_LABEL_EDIT(win
, id, func
):
1281 win
.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, func
)
1283 def EVT_LIST_END_LABEL_EDIT(win
, id, func
):
1284 win
.Connect(id, -1, wxEVT_COMMAND_LIST_END_LABEL_EDIT
, func
)
1286 def EVT_LIST_DELETE_ITEM(win
, id, func
):
1287 win
.Connect(id, -1, wxEVT_COMMAND_LIST_DELETE_ITEM
, func
)
1289 def EVT_LIST_DELETE_ALL_ITEMS(win
, id, func
):
1290 win
.Connect(id, -1, wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, func
)
1292 def EVT_LIST_GET_INFO(win
, id, func
):
1293 win
.Connect(id, -1, wxEVT_COMMAND_LIST_GET_INFO
, func
)
1295 def EVT_LIST_SET_INFO(win
, id, func
):
1296 win
.Connect(id, -1, wxEVT_COMMAND_LIST_SET_INFO
, func
)
1298 def EVT_LIST_ITEM_SELECTED(win
, id, func
):
1299 win
.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_SELECTED
, func
)
1301 def EVT_LIST_ITEM_ACTIVATED(win
, id, func
):
1302 win
.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, func
)
1304 def EVT_LIST_ITEM_DESELECTED(win
, id, func
):
1305 win
.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_DESELECTED
, func
)
1307 def EVT_LIST_KEY_DOWN(win
, id, func
):
1308 win
.Connect(id, -1, wxEVT_COMMAND_LIST_KEY_DOWN
, func
)
1310 def EVT_LIST_INSERT_ITEM(win
, id, func
):
1311 win
.Connect(id, -1, wxEVT_COMMAND_LIST_INSERT_ITEM
, func
)
1313 def EVT_LIST_COL_CLICK(win
, id, func
):
1314 win
.Connect(id, -1, wxEVT_COMMAND_LIST_COL_CLICK
, func
)
1317 def EVT_SPLITTER_SASH_POS_CHANGING(win
, id, func
):
1318 win
.Connect(id, -1, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, func
)
1320 def EVT_SPLITTER_SASH_POS_CHANGED(win
, id, func
):
1321 win
.Connect(id, -1, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, func
)
1323 def EVT_SPLITTER_UNSPLIT(win
, id, func
):
1324 win
.Connect(id, -1, wxEVT_COMMAND_SPLITTER_UNSPLIT
, func
)
1326 def EVT_SPLITTER_DOUBLECLICKED(win
, id, func
):
1327 win
.Connect(id, -1, wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, func
)
1330 #----------------------------------------------------------------------
1332 class wxTimer(wxPyTimer
):
1334 wxPyTimer
.__init
__(self
, self
.Notify
) # derived class must provide
1335 # Notify(self) method.
1337 #----------------------------------------------------------------------
1338 # Some wxWin methods can take "NULL" as parameters, but the shadow classes
1339 # expect an object with the SWIG pointer as a 'this' member. This class
1340 # and instance fools the shadow into passing the NULL pointer.
1343 this
= 'NULL' # SWIG converts this to (void*)0
1348 #----------------------------------------------------------------------
1352 wxNamedColor
= wxNamedColour
1354 wxPyDefaultPosition
.Set(-1,-1)
1355 wxPyDefaultSize
.Set(-1,-1)
1357 # aliases so that C++ documentation applies:
1358 wxDefaultPosition
= wxPyDefaultPosition
1359 wxDefaultSize
= wxPyDefaultSize
1362 # This is to cover up a bug in SWIG. We are redefining
1363 # the shadow class that is generated for wxAcceleratorTable
1364 # because SWIG incorrectly uses "arg0.this"
1365 class wxAcceleratorTable(wxAcceleratorTablePtr
):
1366 def __init__(self
,arg0
) :
1367 self
.this
= miscc
.new_wxAcceleratorTable(arg0
)
1370 #----------------------------------------------------------------------
1371 # This helper function will take a wxPython object and convert it to
1372 # another wxPython object type. This will not be able to create objects
1373 # that are derived from wxPython classes by the user, only those that are
1374 # actually part of wxPython and directly corespond to C++ objects.
1376 # This is useful in situations where some method returns a generic
1377 # type such as wxWindow, but you know that it is actually some
1378 # derived type such as a wxTextCtrl. You can't call wxTextCtrl specific
1379 # methods on a wxWindow object, but you can use this function to
1380 # create a wxTextCtrl object that will pass the same pointer to
1381 # the C++ code. You use it like this:
1383 # textCtrl = wxPyTypeCast(window, "wxTextCtrl")
1386 # WARNING: Using this function to type cast objects into types that
1387 # they are not is not recommended and is likely to cause your
1388 # program to crash... Hard.
1391 def wxPyTypeCast(obj
, typeStr
):
1392 if hasattr(obj
, "this"):
1393 newPtr
= ptrcast(obj
.this
, typeStr
+"_p")
1395 newPtr
= ptrcast(obj
, typeStr
+"_p")
1396 theClass
= globals()[typeStr
+"Ptr"]
1397 theObj
= theClass(newPtr
)
1398 theObj
.thisown
= obj
.thisown
1402 #----------------------------------------------------------------------
1404 ## class wxPyStdOutWindow:
1405 ## def __init__(self, title = "wxPython: stdout/stderr"):
1406 ## self.frame = None
1407 ## self.title = title
1409 ## def write(self, str):
1410 ## if not self.frame:
1411 ## self.frame = wxFrame(NULL, -1, self.title)
1412 ## self.text = wxTextCtrl(self.frame, -1, "", wxPoint(0,0), wxDefaultSize,
1413 ## wxTE_MULTILINE|wxTE_READONLY)
1414 ## self.frame.SetSize(wxSize(450, 300))
1415 ## self.frame.Show(true)
1416 ## EVT_CLOSE(self.frame, self.OnCloseWindow)
1417 ## self.text.AppendText(str)
1419 ## def OnCloseWindow(self, event):
1421 ## self.frame.Destroy()
1422 ## self.frame = None
1428 ## self.frame.Close(true)
1430 _defRedirect
= (wxPlatform
== '__WXMSW__')
1432 #----------------------------------------------------------------------
1433 # The main application class. Derive from this and implement an OnInit
1434 # method that creates a frame and then calls self.SetTopWindow(frame)
1436 class wxApp(wxPyApp
):
1437 error
= 'wxApp.error'
1439 def __init__(self
, redirect
=_defRedirect
, filename
=None):
1440 wxPyApp
.__init
__(self
)
1441 self
.stdioWin
= None
1442 self
.saveStdio
= (sys
.stdout
, sys
.stderr
)
1444 self
.RedirectStdio(filename
)
1446 # this initializes wxWindows and then calls our OnInit
1447 _wxStart(self
.OnInit
)
1456 def RedirectStdio(self
, filename
):
1458 sys
.stdout
= sys
.stderr
= open(filename
, 'a')
1460 raise self
.error
, 'wxPyStdOutWindow not yet implemented.'
1461 #self.stdioWin = sys.stdout = sys.stderr = wxPyStdOutWindow()
1463 def RestoreStdio(self
):
1464 sys
.stdout
, sys
.stderr
= self
.saveStdio
1465 if self
.stdioWin
!= None:
1466 self
.stdioWin
.close()
1469 #----------------------------------------------------------------------------
1470 # DO NOT hold any other references to this object. This is how we know when
1471 # to cleanup system resources that wxWin is holding...
1472 __cleanMeUp
= __wxPyCleanup()
1473 #----------------------------------------------------------------------------