1 # This file was created automatically by SWIG.
14 from clip_dnd
import *
26 from stattool
import *
28 from controls
import *
30 from controls2
import *
32 from windows2
import *
36 from windows3
import *
45 class wxPyAppPtr(wxEvtHandlerPtr
):
46 def __init__(self
,this
):
49 def __del__(self
, delfunc
=wxc
.delete_wxPyApp
):
55 def _setCallbackInfo(self
, *_args
, **_kwargs
):
56 val
= apply(wxc
.wxPyApp__setCallbackInfo
,(self
,) + _args
, _kwargs
)
58 def GetAppName(self
, *_args
, **_kwargs
):
59 val
= apply(wxc
.wxPyApp_GetAppName
,(self
,) + _args
, _kwargs
)
61 def GetClassName(self
, *_args
, **_kwargs
):
62 val
= apply(wxc
.wxPyApp_GetClassName
,(self
,) + _args
, _kwargs
)
64 def GetExitOnFrameDelete(self
, *_args
, **_kwargs
):
65 val
= apply(wxc
.wxPyApp_GetExitOnFrameDelete
,(self
,) + _args
, _kwargs
)
67 def GetPrintMode(self
, *_args
, **_kwargs
):
68 val
= apply(wxc
.wxPyApp_GetPrintMode
,(self
,) + _args
, _kwargs
)
70 def GetTopWindow(self
, *_args
, **_kwargs
):
71 val
= apply(wxc
.wxPyApp_GetTopWindow
,(self
,) + _args
, _kwargs
)
73 def GetVendorName(self
, *_args
, **_kwargs
):
74 val
= apply(wxc
.wxPyApp_GetVendorName
,(self
,) + _args
, _kwargs
)
76 def GetUseBestVisual(self
, *_args
, **_kwargs
):
77 val
= apply(wxc
.wxPyApp_GetUseBestVisual
,(self
,) + _args
, _kwargs
)
79 def Dispatch(self
, *_args
, **_kwargs
):
80 val
= apply(wxc
.wxPyApp_Dispatch
,(self
,) + _args
, _kwargs
)
82 def ExitMainLoop(self
, *_args
, **_kwargs
):
83 val
= apply(wxc
.wxPyApp_ExitMainLoop
,(self
,) + _args
, _kwargs
)
85 def Initialized(self
, *_args
, **_kwargs
):
86 val
= apply(wxc
.wxPyApp_Initialized
,(self
,) + _args
, _kwargs
)
88 def MainLoop(self
, *_args
, **_kwargs
):
89 val
= apply(wxc
.wxPyApp_MainLoop
,(self
,) + _args
, _kwargs
)
91 def Pending(self
, *_args
, **_kwargs
):
92 val
= apply(wxc
.wxPyApp_Pending
,(self
,) + _args
, _kwargs
)
94 def ProcessIdle(self
, *_args
, **_kwargs
):
95 val
= apply(wxc
.wxPyApp_ProcessIdle
,(self
,) + _args
, _kwargs
)
97 def Yield(self
, *_args
, **_kwargs
):
98 val
= apply(wxc
.wxPyApp_Yield
,(self
,) + _args
, _kwargs
)
100 def SetAppName(self
, *_args
, **_kwargs
):
101 val
= apply(wxc
.wxPyApp_SetAppName
,(self
,) + _args
, _kwargs
)
103 def SetClassName(self
, *_args
, **_kwargs
):
104 val
= apply(wxc
.wxPyApp_SetClassName
,(self
,) + _args
, _kwargs
)
106 def SetExitOnFrameDelete(self
, *_args
, **_kwargs
):
107 val
= apply(wxc
.wxPyApp_SetExitOnFrameDelete
,(self
,) + _args
, _kwargs
)
109 def SetPrintMode(self
, *_args
, **_kwargs
):
110 val
= apply(wxc
.wxPyApp_SetPrintMode
,(self
,) + _args
, _kwargs
)
112 def SetTopWindow(self
, *_args
, **_kwargs
):
113 val
= apply(wxc
.wxPyApp_SetTopWindow
,(self
,) + _args
, _kwargs
)
115 def SetVendorName(self
, *_args
, **_kwargs
):
116 val
= apply(wxc
.wxPyApp_SetVendorName
,(self
,) + _args
, _kwargs
)
118 def SetUseBestVisual(self
, *_args
, **_kwargs
):
119 val
= apply(wxc
.wxPyApp_SetUseBestVisual
,(self
,) + _args
, _kwargs
)
121 def GetAssertMode(self
, *_args
, **_kwargs
):
122 val
= apply(wxc
.wxPyApp_GetAssertMode
,(self
,) + _args
, _kwargs
)
124 def SetAssertMode(self
, *_args
, **_kwargs
):
125 val
= apply(wxc
.wxPyApp_SetAssertMode
,(self
,) + _args
, _kwargs
)
128 return "<C wxPyApp instance at %s>" % (self
.this
,)
129 class wxPyApp(wxPyAppPtr
):
130 def __init__(self
,*_args
,**_kwargs
):
131 self
.this
= apply(wxc
.new_wxPyApp
,_args
,_kwargs
)
133 self
._setCallbackInfo
(self
, wxPyApp
)
134 self
._setOORInfo
(self
)
141 #-------------- FUNCTION WRAPPERS ------------------
143 ptrcast
= wxc
.ptrcast
145 ptrvalue
= wxc
.ptrvalue
149 ptrcreate
= wxc
.ptrcreate
151 ptrfree
= wxc
.ptrfree
157 _wxStart
= wxc
._wxStart
159 _wxSetDictionary
= wxc
._wxSetDictionary
161 def wxGetApp(*_args
, **_kwargs
):
162 val
= apply(wxc
.wxGetApp
,_args
,_kwargs
)
165 wxApp_CleanUp
= wxc
.wxApp_CleanUp
167 wxPyApp_GetMacDefaultEncodingIsPC
= wxc
.wxPyApp_GetMacDefaultEncodingIsPC
169 wxPyApp_GetMacSupportPCMenuShortcuts
= wxc
.wxPyApp_GetMacSupportPCMenuShortcuts
171 wxPyApp_GetMacAboutMenuItemId
= wxc
.wxPyApp_GetMacAboutMenuItemId
173 wxPyApp_GetMacPreferencesMenuItemId
= wxc
.wxPyApp_GetMacPreferencesMenuItemId
175 wxPyApp_GetMacExitMenuItemId
= wxc
.wxPyApp_GetMacExitMenuItemId
177 wxPyApp_GetMacHelpMenuTitleName
= wxc
.wxPyApp_GetMacHelpMenuTitleName
179 wxPyApp_SetMacDefaultEncodingIsPC
= wxc
.wxPyApp_SetMacDefaultEncodingIsPC
181 wxPyApp_SetMacSupportPCMenuShortcuts
= wxc
.wxPyApp_SetMacSupportPCMenuShortcuts
183 wxPyApp_SetMacAboutMenuItemId
= wxc
.wxPyApp_SetMacAboutMenuItemId
185 wxPyApp_SetMacPreferencesMenuItemId
= wxc
.wxPyApp_SetMacPreferencesMenuItemId
187 wxPyApp_SetMacExitMenuItemId
= wxc
.wxPyApp_SetMacExitMenuItemId
189 wxPyApp_SetMacHelpMenuTitleName
= wxc
.wxPyApp_SetMacHelpMenuTitleName
193 #-------------- VARIABLE WRAPPERS ------------------
195 wxMAJOR_VERSION
= wxc
.wxMAJOR_VERSION
196 wxMINOR_VERSION
= wxc
.wxMINOR_VERSION
197 wxRELEASE_NUMBER
= wxc
.wxRELEASE_NUMBER
198 wxNOT_FOUND
= wxc
.wxNOT_FOUND
199 wxVSCROLL
= wxc
.wxVSCROLL
200 wxHSCROLL
= wxc
.wxHSCROLL
201 wxCAPTION
= wxc
.wxCAPTION
202 wxDOUBLE_BORDER
= wxc
.wxDOUBLE_BORDER
203 wxSUNKEN_BORDER
= wxc
.wxSUNKEN_BORDER
204 wxRAISED_BORDER
= wxc
.wxRAISED_BORDER
205 wxBORDER
= wxc
.wxBORDER
206 wxSIMPLE_BORDER
= wxc
.wxSIMPLE_BORDER
207 wxSTATIC_BORDER
= wxc
.wxSTATIC_BORDER
208 wxTRANSPARENT_WINDOW
= wxc
.wxTRANSPARENT_WINDOW
209 wxNO_BORDER
= wxc
.wxNO_BORDER
210 wxUSER_COLOURS
= wxc
.wxUSER_COLOURS
211 wxNO_3D
= wxc
.wxNO_3D
212 wxTAB_TRAVERSAL
= wxc
.wxTAB_TRAVERSAL
213 wxWANTS_CHARS
= wxc
.wxWANTS_CHARS
214 wxPOPUP_WINDOW
= wxc
.wxPOPUP_WINDOW
215 wxHORIZONTAL
= wxc
.wxHORIZONTAL
216 wxVERTICAL
= wxc
.wxVERTICAL
218 wxCENTER_FRAME
= wxc
.wxCENTER_FRAME
219 wxCENTRE_ON_SCREEN
= wxc
.wxCENTRE_ON_SCREEN
220 wxCENTER_ON_SCREEN
= wxc
.wxCENTER_ON_SCREEN
221 wxSTAY_ON_TOP
= wxc
.wxSTAY_ON_TOP
222 wxICONIZE
= wxc
.wxICONIZE
223 wxMINIMIZE
= wxc
.wxMINIMIZE
224 wxMAXIMIZE
= wxc
.wxMAXIMIZE
225 wxTHICK_FRAME
= wxc
.wxTHICK_FRAME
226 wxSYSTEM_MENU
= wxc
.wxSYSTEM_MENU
227 wxMINIMIZE_BOX
= wxc
.wxMINIMIZE_BOX
228 wxMAXIMIZE_BOX
= wxc
.wxMAXIMIZE_BOX
229 wxTINY_CAPTION_HORIZ
= wxc
.wxTINY_CAPTION_HORIZ
230 wxTINY_CAPTION_VERT
= wxc
.wxTINY_CAPTION_VERT
231 wxRESIZE_BOX
= wxc
.wxRESIZE_BOX
232 wxRESIZE_BORDER
= wxc
.wxRESIZE_BORDER
233 wxDIALOG_MODAL
= wxc
.wxDIALOG_MODAL
234 wxDIALOG_MODELESS
= wxc
.wxDIALOG_MODELESS
235 wxDIALOG_NO_PARENT
= wxc
.wxDIALOG_NO_PARENT
236 wxDEFAULT_FRAME_STYLE
= wxc
.wxDEFAULT_FRAME_STYLE
237 wxDEFAULT_DIALOG_STYLE
= wxc
.wxDEFAULT_DIALOG_STYLE
238 wxFRAME_TOOL_WINDOW
= wxc
.wxFRAME_TOOL_WINDOW
239 wxFRAME_FLOAT_ON_PARENT
= wxc
.wxFRAME_FLOAT_ON_PARENT
240 wxFRAME_NO_WINDOW_MENU
= wxc
.wxFRAME_NO_WINDOW_MENU
241 wxFRAME_NO_TASKBAR
= wxc
.wxFRAME_NO_TASKBAR
242 wxED_CLIENT_MARGIN
= wxc
.wxED_CLIENT_MARGIN
243 wxED_BUTTONS_BOTTOM
= wxc
.wxED_BUTTONS_BOTTOM
244 wxED_BUTTONS_RIGHT
= wxc
.wxED_BUTTONS_RIGHT
245 wxED_STATIC_LINE
= wxc
.wxED_STATIC_LINE
246 wxEXT_DIALOG_STYLE
= wxc
.wxEXT_DIALOG_STYLE
247 wxCLIP_CHILDREN
= wxc
.wxCLIP_CHILDREN
248 wxCLIP_SIBLINGS
= wxc
.wxCLIP_SIBLINGS
249 wxRETAINED
= wxc
.wxRETAINED
250 wxBACKINGSTORE
= wxc
.wxBACKINGSTORE
251 wxTB_HORIZONTAL
= wxc
.wxTB_HORIZONTAL
252 wxTB_VERTICAL
= wxc
.wxTB_VERTICAL
253 wxTB_3DBUTTONS
= wxc
.wxTB_3DBUTTONS
254 wxTB_FLAT
= wxc
.wxTB_FLAT
255 wxTB_DOCKABLE
= wxc
.wxTB_DOCKABLE
256 wxTB_NOICONS
= wxc
.wxTB_NOICONS
257 wxTB_TEXT
= wxc
.wxTB_TEXT
258 wxTB_NODIVIDER
= wxc
.wxTB_NODIVIDER
259 wxTB_NOALIGN
= wxc
.wxTB_NOALIGN
260 wxCOLOURED
= wxc
.wxCOLOURED
261 wxFIXED_LENGTH
= wxc
.wxFIXED_LENGTH
262 wxALIGN_LEFT
= wxc
.wxALIGN_LEFT
263 wxALIGN_CENTER_HORIZONTAL
= wxc
.wxALIGN_CENTER_HORIZONTAL
264 wxALIGN_CENTRE_HORIZONTAL
= wxc
.wxALIGN_CENTRE_HORIZONTAL
265 wxALIGN_RIGHT
= wxc
.wxALIGN_RIGHT
266 wxALIGN_BOTTOM
= wxc
.wxALIGN_BOTTOM
267 wxALIGN_CENTER_VERTICAL
= wxc
.wxALIGN_CENTER_VERTICAL
268 wxALIGN_CENTRE_VERTICAL
= wxc
.wxALIGN_CENTRE_VERTICAL
269 wxALIGN_TOP
= wxc
.wxALIGN_TOP
270 wxALIGN_CENTER
= wxc
.wxALIGN_CENTER
271 wxALIGN_CENTRE
= wxc
.wxALIGN_CENTRE
272 wxSHAPED
= wxc
.wxSHAPED
273 wxADJUST_MINSIZE
= wxc
.wxADJUST_MINSIZE
274 wxLB_NEEDED_SB
= wxc
.wxLB_NEEDED_SB
275 wxLB_ALWAYS_SB
= wxc
.wxLB_ALWAYS_SB
276 wxLB_SORT
= wxc
.wxLB_SORT
277 wxLB_SINGLE
= wxc
.wxLB_SINGLE
278 wxLB_MULTIPLE
= wxc
.wxLB_MULTIPLE
279 wxLB_EXTENDED
= wxc
.wxLB_EXTENDED
280 wxLB_OWNERDRAW
= wxc
.wxLB_OWNERDRAW
281 wxLB_HSCROLL
= wxc
.wxLB_HSCROLL
282 wxPROCESS_ENTER
= wxc
.wxPROCESS_ENTER
283 wxPASSWORD
= wxc
.wxPASSWORD
284 wxTE_READONLY
= wxc
.wxTE_READONLY
285 wxTE_MULTILINE
= wxc
.wxTE_MULTILINE
286 wxTE_PROCESS_TAB
= wxc
.wxTE_PROCESS_TAB
287 wxTE_RICH
= wxc
.wxTE_RICH
288 wxTE_RICH2
= wxc
.wxTE_RICH2
289 wxTE_NO_VSCROLL
= wxc
.wxTE_NO_VSCROLL
290 wxTE_AUTO_SCROLL
= wxc
.wxTE_AUTO_SCROLL
291 wxTE_PROCESS_ENTER
= wxc
.wxTE_PROCESS_ENTER
292 wxTE_PASSWORD
= wxc
.wxTE_PASSWORD
293 wxTE_AUTO_URL
= wxc
.wxTE_AUTO_URL
294 wxTE_NOHIDESEL
= wxc
.wxTE_NOHIDESEL
295 wxTE_DONTWRAP
= wxc
.wxTE_DONTWRAP
296 wxTE_LINEWRAP
= wxc
.wxTE_LINEWRAP
297 wxTE_WORDWRAP
= wxc
.wxTE_WORDWRAP
298 wxTE_LEFT
= wxc
.wxTE_LEFT
299 wxTE_RIGHT
= wxc
.wxTE_RIGHT
300 wxTE_CENTER
= wxc
.wxTE_CENTER
301 wxTE_CENTRE
= wxc
.wxTE_CENTRE
302 wxCB_SIMPLE
= wxc
.wxCB_SIMPLE
303 wxCB_DROPDOWN
= wxc
.wxCB_DROPDOWN
304 wxCB_SORT
= wxc
.wxCB_SORT
305 wxCB_READONLY
= wxc
.wxCB_READONLY
306 wxRA_HORIZONTAL
= wxc
.wxRA_HORIZONTAL
307 wxRA_VERTICAL
= wxc
.wxRA_VERTICAL
308 wxRA_SPECIFY_ROWS
= wxc
.wxRA_SPECIFY_ROWS
309 wxRA_SPECIFY_COLS
= wxc
.wxRA_SPECIFY_COLS
310 wxRB_GROUP
= wxc
.wxRB_GROUP
311 wxRB_SINGLE
= wxc
.wxRB_SINGLE
312 wxGA_PROGRESSBAR
= wxc
.wxGA_PROGRESSBAR
313 wxGA_HORIZONTAL
= wxc
.wxGA_HORIZONTAL
314 wxGA_VERTICAL
= wxc
.wxGA_VERTICAL
315 wxGA_SMOOTH
= wxc
.wxGA_SMOOTH
316 wxSL_HORIZONTAL
= wxc
.wxSL_HORIZONTAL
317 wxSL_VERTICAL
= wxc
.wxSL_VERTICAL
318 wxSL_AUTOTICKS
= wxc
.wxSL_AUTOTICKS
319 wxSL_LABELS
= wxc
.wxSL_LABELS
320 wxSL_LEFT
= wxc
.wxSL_LEFT
321 wxSL_TOP
= wxc
.wxSL_TOP
322 wxSL_RIGHT
= wxc
.wxSL_RIGHT
323 wxSL_BOTTOM
= wxc
.wxSL_BOTTOM
324 wxSL_BOTH
= wxc
.wxSL_BOTH
325 wxSL_SELRANGE
= wxc
.wxSL_SELRANGE
326 wxSB_HORIZONTAL
= wxc
.wxSB_HORIZONTAL
327 wxSB_VERTICAL
= wxc
.wxSB_VERTICAL
328 wxST_SIZEGRIP
= wxc
.wxST_SIZEGRIP
329 wxST_NO_AUTORESIZE
= wxc
.wxST_NO_AUTORESIZE
330 wxBU_NOAUTODRAW
= wxc
.wxBU_NOAUTODRAW
331 wxBU_AUTODRAW
= wxc
.wxBU_AUTODRAW
332 wxBU_LEFT
= wxc
.wxBU_LEFT
333 wxBU_TOP
= wxc
.wxBU_TOP
334 wxBU_RIGHT
= wxc
.wxBU_RIGHT
335 wxBU_BOTTOM
= wxc
.wxBU_BOTTOM
336 wxBU_EXACTFIT
= wxc
.wxBU_EXACTFIT
337 wxSP_VERTICAL
= wxc
.wxSP_VERTICAL
338 wxSP_HORIZONTAL
= wxc
.wxSP_HORIZONTAL
339 wxSP_ARROW_KEYS
= wxc
.wxSP_ARROW_KEYS
340 wxSP_WRAP
= wxc
.wxSP_WRAP
341 wxSP_NOBORDER
= wxc
.wxSP_NOBORDER
342 wxSP_3D
= wxc
.wxSP_3D
343 wxSP_3DSASH
= wxc
.wxSP_3DSASH
344 wxSP_3DBORDER
= wxc
.wxSP_3DBORDER
345 wxSP_FULLSASH
= wxc
.wxSP_FULLSASH
346 wxSP_BORDER
= wxc
.wxSP_BORDER
347 wxSP_LIVE_UPDATE
= wxc
.wxSP_LIVE_UPDATE
348 wxSP_PERMIT_UNSPLIT
= wxc
.wxSP_PERMIT_UNSPLIT
349 wxFLOOD_SURFACE
= wxc
.wxFLOOD_SURFACE
350 wxFLOOD_BORDER
= wxc
.wxFLOOD_BORDER
351 wxODDEVEN_RULE
= wxc
.wxODDEVEN_RULE
352 wxWINDING_RULE
= wxc
.wxWINDING_RULE
353 wxTOOL_TOP
= wxc
.wxTOOL_TOP
354 wxTOOL_BOTTOM
= wxc
.wxTOOL_BOTTOM
355 wxTOOL_LEFT
= wxc
.wxTOOL_LEFT
356 wxTOOL_RIGHT
= wxc
.wxTOOL_RIGHT
358 wxYES_NO
= wxc
.wxYES_NO
359 wxCANCEL
= wxc
.wxCANCEL
362 wxNO_DEFAULT
= wxc
.wxNO_DEFAULT
363 wxYES_DEFAULT
= wxc
.wxYES_DEFAULT
364 wxICON_EXCLAMATION
= wxc
.wxICON_EXCLAMATION
365 wxICON_HAND
= wxc
.wxICON_HAND
366 wxICON_QUESTION
= wxc
.wxICON_QUESTION
367 wxICON_INFORMATION
= wxc
.wxICON_INFORMATION
368 wxICON_STOP
= wxc
.wxICON_STOP
369 wxICON_ASTERISK
= wxc
.wxICON_ASTERISK
370 wxICON_MASK
= wxc
.wxICON_MASK
371 wxICON_WARNING
= wxc
.wxICON_WARNING
372 wxICON_ERROR
= wxc
.wxICON_ERROR
373 wxFORWARD
= wxc
.wxFORWARD
374 wxBACKWARD
= wxc
.wxBACKWARD
375 wxRESET
= wxc
.wxRESET
378 wxSETUP
= wxc
.wxSETUP
379 wxCENTRE
= wxc
.wxCENTRE
380 wxCENTER
= wxc
.wxCENTER
381 wxSIZE_AUTO_WIDTH
= wxc
.wxSIZE_AUTO_WIDTH
382 wxSIZE_AUTO_HEIGHT
= wxc
.wxSIZE_AUTO_HEIGHT
383 wxSIZE_AUTO
= wxc
.wxSIZE_AUTO
384 wxSIZE_USE_EXISTING
= wxc
.wxSIZE_USE_EXISTING
385 wxSIZE_ALLOW_MINUS_ONE
= wxc
.wxSIZE_ALLOW_MINUS_ONE
386 wxPORTRAIT
= wxc
.wxPORTRAIT
387 wxLANDSCAPE
= wxc
.wxLANDSCAPE
388 wxPRINT_QUALITY_HIGH
= wxc
.wxPRINT_QUALITY_HIGH
389 wxPRINT_QUALITY_MEDIUM
= wxc
.wxPRINT_QUALITY_MEDIUM
390 wxPRINT_QUALITY_LOW
= wxc
.wxPRINT_QUALITY_LOW
391 wxPRINT_QUALITY_DRAFT
= wxc
.wxPRINT_QUALITY_DRAFT
392 wxID_ANY
= wxc
.wxID_ANY
393 wxID_SEPARATOR
= wxc
.wxID_SEPARATOR
394 wxID_OPEN
= wxc
.wxID_OPEN
395 wxID_CLOSE
= wxc
.wxID_CLOSE
396 wxID_NEW
= wxc
.wxID_NEW
397 wxID_SAVE
= wxc
.wxID_SAVE
398 wxID_SAVEAS
= wxc
.wxID_SAVEAS
399 wxID_REVERT
= wxc
.wxID_REVERT
400 wxID_EXIT
= wxc
.wxID_EXIT
401 wxID_UNDO
= wxc
.wxID_UNDO
402 wxID_REDO
= wxc
.wxID_REDO
403 wxID_HELP
= wxc
.wxID_HELP
404 wxID_PRINT
= wxc
.wxID_PRINT
405 wxID_PRINT_SETUP
= wxc
.wxID_PRINT_SETUP
406 wxID_PREVIEW
= wxc
.wxID_PREVIEW
407 wxID_ABOUT
= wxc
.wxID_ABOUT
408 wxID_HELP_CONTENTS
= wxc
.wxID_HELP_CONTENTS
409 wxID_HELP_COMMANDS
= wxc
.wxID_HELP_COMMANDS
410 wxID_HELP_PROCEDURES
= wxc
.wxID_HELP_PROCEDURES
411 wxID_HELP_CONTEXT
= wxc
.wxID_HELP_CONTEXT
412 wxID_CLOSE_ALL
= wxc
.wxID_CLOSE_ALL
413 wxID_CUT
= wxc
.wxID_CUT
414 wxID_COPY
= wxc
.wxID_COPY
415 wxID_PASTE
= wxc
.wxID_PASTE
416 wxID_CLEAR
= wxc
.wxID_CLEAR
417 wxID_FIND
= wxc
.wxID_FIND
418 wxID_DUPLICATE
= wxc
.wxID_DUPLICATE
419 wxID_SELECTALL
= wxc
.wxID_SELECTALL
420 wxID_FILE1
= wxc
.wxID_FILE1
421 wxID_FILE2
= wxc
.wxID_FILE2
422 wxID_FILE3
= wxc
.wxID_FILE3
423 wxID_FILE4
= wxc
.wxID_FILE4
424 wxID_FILE5
= wxc
.wxID_FILE5
425 wxID_FILE6
= wxc
.wxID_FILE6
426 wxID_FILE7
= wxc
.wxID_FILE7
427 wxID_FILE8
= wxc
.wxID_FILE8
428 wxID_FILE9
= wxc
.wxID_FILE9
429 wxID_OK
= wxc
.wxID_OK
430 wxID_CANCEL
= wxc
.wxID_CANCEL
431 wxID_APPLY
= wxc
.wxID_APPLY
432 wxID_YES
= wxc
.wxID_YES
433 wxID_NO
= wxc
.wxID_NO
434 wxID_STATIC
= wxc
.wxID_STATIC
435 wxID_FORWARD
= wxc
.wxID_FORWARD
436 wxID_BACKWARD
= wxc
.wxID_BACKWARD
437 wxID_DEFAULT
= wxc
.wxID_DEFAULT
438 wxID_MORE
= wxc
.wxID_MORE
439 wxID_SETUP
= wxc
.wxID_SETUP
440 wxID_RESET
= wxc
.wxID_RESET
441 wxID_CONTEXT_HELP
= wxc
.wxID_CONTEXT_HELP
442 wxID_YESTOALL
= wxc
.wxID_YESTOALL
443 wxID_NOTOALL
= wxc
.wxID_NOTOALL
444 wxID_ABORT
= wxc
.wxID_ABORT
445 wxID_RETRY
= wxc
.wxID_RETRY
446 wxID_IGNORE
= wxc
.wxID_IGNORE
449 wxHIDE_READONLY
= wxc
.wxHIDE_READONLY
450 wxOVERWRITE_PROMPT
= wxc
.wxOVERWRITE_PROMPT
451 wxFILE_MUST_EXIST
= wxc
.wxFILE_MUST_EXIST
452 wxMULTIPLE
= wxc
.wxMULTIPLE
453 wxCHANGE_DIR
= wxc
.wxCHANGE_DIR
454 wxACCEL_ALT
= wxc
.wxACCEL_ALT
455 wxACCEL_CTRL
= wxc
.wxACCEL_CTRL
456 wxACCEL_SHIFT
= wxc
.wxACCEL_SHIFT
457 wxACCEL_NORMAL
= wxc
.wxACCEL_NORMAL
458 wxPD_AUTO_HIDE
= wxc
.wxPD_AUTO_HIDE
459 wxPD_APP_MODAL
= wxc
.wxPD_APP_MODAL
460 wxPD_CAN_ABORT
= wxc
.wxPD_CAN_ABORT
461 wxPD_ELAPSED_TIME
= wxc
.wxPD_ELAPSED_TIME
462 wxPD_ESTIMATED_TIME
= wxc
.wxPD_ESTIMATED_TIME
463 wxPD_REMAINING_TIME
= wxc
.wxPD_REMAINING_TIME
464 wxDD_NEW_DIR_BUTTON
= wxc
.wxDD_NEW_DIR_BUTTON
465 wxDD_DEFAULT_STYLE
= wxc
.wxDD_DEFAULT_STYLE
466 wxMENU_TEAROFF
= wxc
.wxMENU_TEAROFF
467 wxMB_DOCKABLE
= wxc
.wxMB_DOCKABLE
468 wxNO_FULL_REPAINT_ON_RESIZE
= wxc
.wxNO_FULL_REPAINT_ON_RESIZE
470 wxRIGHT
= wxc
.wxRIGHT
475 wxBOTTOM
= wxc
.wxBOTTOM
476 wxNORTH
= wxc
.wxNORTH
477 wxSOUTH
= wxc
.wxSOUTH
480 wxSTRETCH_NOT
= wxc
.wxSTRETCH_NOT
481 wxSHRINK
= wxc
.wxSHRINK
483 wxEXPAND
= wxc
.wxEXPAND
484 wxNB_FIXEDWIDTH
= wxc
.wxNB_FIXEDWIDTH
485 wxNB_LEFT
= wxc
.wxNB_LEFT
486 wxNB_RIGHT
= wxc
.wxNB_RIGHT
487 wxNB_BOTTOM
= wxc
.wxNB_BOTTOM
488 wxNB_MULTILINE
= wxc
.wxNB_MULTILINE
489 wxLI_HORIZONTAL
= wxc
.wxLI_HORIZONTAL
490 wxLI_VERTICAL
= wxc
.wxLI_VERTICAL
491 wxJOYSTICK1
= wxc
.wxJOYSTICK1
492 wxJOYSTICK2
= wxc
.wxJOYSTICK2
493 wxJOY_BUTTON1
= wxc
.wxJOY_BUTTON1
494 wxJOY_BUTTON2
= wxc
.wxJOY_BUTTON2
495 wxJOY_BUTTON3
= wxc
.wxJOY_BUTTON3
496 wxJOY_BUTTON4
= wxc
.wxJOY_BUTTON4
497 wxJOY_BUTTON_ANY
= wxc
.wxJOY_BUTTON_ANY
498 wxWS_EX_VALIDATE_RECURSIVELY
= wxc
.wxWS_EX_VALIDATE_RECURSIVELY
499 wxWS_EX_BLOCK_EVENTS
= wxc
.wxWS_EX_BLOCK_EVENTS
500 wxWS_EX_TRANSIENT
= wxc
.wxWS_EX_TRANSIENT
501 wxMM_TEXT
= wxc
.wxMM_TEXT
502 wxMM_LOMETRIC
= wxc
.wxMM_LOMETRIC
503 wxMM_HIMETRIC
= wxc
.wxMM_HIMETRIC
504 wxMM_LOENGLISH
= wxc
.wxMM_LOENGLISH
505 wxMM_HIENGLISH
= wxc
.wxMM_HIENGLISH
506 wxMM_TWIPS
= wxc
.wxMM_TWIPS
507 wxMM_ISOTROPIC
= wxc
.wxMM_ISOTROPIC
508 wxMM_ANISOTROPIC
= wxc
.wxMM_ANISOTROPIC
509 wxMM_POINTS
= wxc
.wxMM_POINTS
510 wxMM_METRIC
= wxc
.wxMM_METRIC
511 wxTIMER_CONTINUOUS
= wxc
.wxTIMER_CONTINUOUS
512 wxTIMER_ONE_SHOT
= wxc
.wxTIMER_ONE_SHOT
513 wxMOUSE_BTN_ANY
= wxc
.wxMOUSE_BTN_ANY
514 wxMOUSE_BTN_NONE
= wxc
.wxMOUSE_BTN_NONE
515 wxMOUSE_BTN_LEFT
= wxc
.wxMOUSE_BTN_LEFT
516 wxMOUSE_BTN_MIDDLE
= wxc
.wxMOUSE_BTN_MIDDLE
517 wxMOUSE_BTN_RIGHT
= wxc
.wxMOUSE_BTN_RIGHT
518 wxBORDER_DEFAULT
= wxc
.wxBORDER_DEFAULT
519 wxBORDER_NONE
= wxc
.wxBORDER_NONE
520 wxBORDER_STATIC
= wxc
.wxBORDER_STATIC
521 wxBORDER_SIMPLE
= wxc
.wxBORDER_SIMPLE
522 wxBORDER_RAISED
= wxc
.wxBORDER_RAISED
523 wxBORDER_SUNKEN
= wxc
.wxBORDER_SUNKEN
524 wxBORDER_DOUBLE
= wxc
.wxBORDER_DOUBLE
525 wxBORDER_MASK
= wxc
.wxBORDER_MASK
526 wxDEFAULT
= wxc
.wxDEFAULT
527 wxDECORATIVE
= wxc
.wxDECORATIVE
528 wxROMAN
= wxc
.wxROMAN
529 wxSCRIPT
= wxc
.wxSCRIPT
530 wxSWISS
= wxc
.wxSWISS
531 wxMODERN
= wxc
.wxMODERN
532 wxTELETYPE
= wxc
.wxTELETYPE
533 wxVARIABLE
= wxc
.wxVARIABLE
534 wxFIXED
= wxc
.wxFIXED
535 wxNORMAL
= wxc
.wxNORMAL
536 wxLIGHT
= wxc
.wxLIGHT
538 wxITALIC
= wxc
.wxITALIC
539 wxSLANT
= wxc
.wxSLANT
540 wxSOLID
= wxc
.wxSOLID
542 wxLONG_DASH
= wxc
.wxLONG_DASH
543 wxSHORT_DASH
= wxc
.wxSHORT_DASH
544 wxDOT_DASH
= wxc
.wxDOT_DASH
545 wxUSER_DASH
= wxc
.wxUSER_DASH
546 wxTRANSPARENT
= wxc
.wxTRANSPARENT
547 wxSTIPPLE
= wxc
.wxSTIPPLE
548 wxBDIAGONAL_HATCH
= wxc
.wxBDIAGONAL_HATCH
549 wxCROSSDIAG_HATCH
= wxc
.wxCROSSDIAG_HATCH
550 wxFDIAGONAL_HATCH
= wxc
.wxFDIAGONAL_HATCH
551 wxCROSS_HATCH
= wxc
.wxCROSS_HATCH
552 wxHORIZONTAL_HATCH
= wxc
.wxHORIZONTAL_HATCH
553 wxVERTICAL_HATCH
= wxc
.wxVERTICAL_HATCH
554 wxJOIN_BEVEL
= wxc
.wxJOIN_BEVEL
555 wxJOIN_MITER
= wxc
.wxJOIN_MITER
556 wxJOIN_ROUND
= wxc
.wxJOIN_ROUND
557 wxCAP_ROUND
= wxc
.wxCAP_ROUND
558 wxCAP_PROJECTING
= wxc
.wxCAP_PROJECTING
559 wxCAP_BUTT
= wxc
.wxCAP_BUTT
560 wxCLEAR
= wxc
.wxCLEAR
562 wxINVERT
= wxc
.wxINVERT
563 wxOR_REVERSE
= wxc
.wxOR_REVERSE
564 wxAND_REVERSE
= wxc
.wxAND_REVERSE
567 wxAND_INVERT
= wxc
.wxAND_INVERT
568 wxNO_OP
= wxc
.wxNO_OP
570 wxEQUIV
= wxc
.wxEQUIV
571 wxSRC_INVERT
= wxc
.wxSRC_INVERT
572 wxOR_INVERT
= wxc
.wxOR_INVERT
576 WXK_BACK
= wxc
.WXK_BACK
577 WXK_TAB
= wxc
.WXK_TAB
578 WXK_RETURN
= wxc
.WXK_RETURN
579 WXK_ESCAPE
= wxc
.WXK_ESCAPE
580 WXK_SPACE
= wxc
.WXK_SPACE
581 WXK_DELETE
= wxc
.WXK_DELETE
582 WXK_START
= wxc
.WXK_START
583 WXK_LBUTTON
= wxc
.WXK_LBUTTON
584 WXK_RBUTTON
= wxc
.WXK_RBUTTON
585 WXK_CANCEL
= wxc
.WXK_CANCEL
586 WXK_MBUTTON
= wxc
.WXK_MBUTTON
587 WXK_CLEAR
= wxc
.WXK_CLEAR
588 WXK_SHIFT
= wxc
.WXK_SHIFT
589 WXK_ALT
= wxc
.WXK_ALT
590 WXK_CONTROL
= wxc
.WXK_CONTROL
591 WXK_MENU
= wxc
.WXK_MENU
592 WXK_PAUSE
= wxc
.WXK_PAUSE
593 WXK_CAPITAL
= wxc
.WXK_CAPITAL
594 WXK_PRIOR
= wxc
.WXK_PRIOR
595 WXK_NEXT
= wxc
.WXK_NEXT
596 WXK_END
= wxc
.WXK_END
597 WXK_HOME
= wxc
.WXK_HOME
598 WXK_LEFT
= wxc
.WXK_LEFT
600 WXK_RIGHT
= wxc
.WXK_RIGHT
601 WXK_DOWN
= wxc
.WXK_DOWN
602 WXK_SELECT
= wxc
.WXK_SELECT
603 WXK_PRINT
= wxc
.WXK_PRINT
604 WXK_EXECUTE
= wxc
.WXK_EXECUTE
605 WXK_SNAPSHOT
= wxc
.WXK_SNAPSHOT
606 WXK_INSERT
= wxc
.WXK_INSERT
607 WXK_HELP
= wxc
.WXK_HELP
608 WXK_NUMPAD0
= wxc
.WXK_NUMPAD0
609 WXK_NUMPAD1
= wxc
.WXK_NUMPAD1
610 WXK_NUMPAD2
= wxc
.WXK_NUMPAD2
611 WXK_NUMPAD3
= wxc
.WXK_NUMPAD3
612 WXK_NUMPAD4
= wxc
.WXK_NUMPAD4
613 WXK_NUMPAD5
= wxc
.WXK_NUMPAD5
614 WXK_NUMPAD6
= wxc
.WXK_NUMPAD6
615 WXK_NUMPAD7
= wxc
.WXK_NUMPAD7
616 WXK_NUMPAD8
= wxc
.WXK_NUMPAD8
617 WXK_NUMPAD9
= wxc
.WXK_NUMPAD9
618 WXK_MULTIPLY
= wxc
.WXK_MULTIPLY
619 WXK_ADD
= wxc
.WXK_ADD
620 WXK_SEPARATOR
= wxc
.WXK_SEPARATOR
621 WXK_SUBTRACT
= wxc
.WXK_SUBTRACT
622 WXK_DECIMAL
= wxc
.WXK_DECIMAL
623 WXK_DIVIDE
= wxc
.WXK_DIVIDE
633 WXK_F10
= wxc
.WXK_F10
634 WXK_F11
= wxc
.WXK_F11
635 WXK_F12
= wxc
.WXK_F12
636 WXK_F13
= wxc
.WXK_F13
637 WXK_F14
= wxc
.WXK_F14
638 WXK_F15
= wxc
.WXK_F15
639 WXK_F16
= wxc
.WXK_F16
640 WXK_F17
= wxc
.WXK_F17
641 WXK_F18
= wxc
.WXK_F18
642 WXK_F19
= wxc
.WXK_F19
643 WXK_F20
= wxc
.WXK_F20
644 WXK_F21
= wxc
.WXK_F21
645 WXK_F22
= wxc
.WXK_F22
646 WXK_F23
= wxc
.WXK_F23
647 WXK_F24
= wxc
.WXK_F24
648 WXK_NUMLOCK
= wxc
.WXK_NUMLOCK
649 WXK_SCROLL
= wxc
.WXK_SCROLL
650 WXK_PAGEUP
= wxc
.WXK_PAGEUP
651 WXK_PAGEDOWN
= wxc
.WXK_PAGEDOWN
652 WXK_NUMPAD_SPACE
= wxc
.WXK_NUMPAD_SPACE
653 WXK_NUMPAD_TAB
= wxc
.WXK_NUMPAD_TAB
654 WXK_NUMPAD_ENTER
= wxc
.WXK_NUMPAD_ENTER
655 WXK_NUMPAD_F1
= wxc
.WXK_NUMPAD_F1
656 WXK_NUMPAD_F2
= wxc
.WXK_NUMPAD_F2
657 WXK_NUMPAD_F3
= wxc
.WXK_NUMPAD_F3
658 WXK_NUMPAD_F4
= wxc
.WXK_NUMPAD_F4
659 WXK_NUMPAD_HOME
= wxc
.WXK_NUMPAD_HOME
660 WXK_NUMPAD_LEFT
= wxc
.WXK_NUMPAD_LEFT
661 WXK_NUMPAD_UP
= wxc
.WXK_NUMPAD_UP
662 WXK_NUMPAD_RIGHT
= wxc
.WXK_NUMPAD_RIGHT
663 WXK_NUMPAD_DOWN
= wxc
.WXK_NUMPAD_DOWN
664 WXK_NUMPAD_PRIOR
= wxc
.WXK_NUMPAD_PRIOR
665 WXK_NUMPAD_PAGEUP
= wxc
.WXK_NUMPAD_PAGEUP
666 WXK_NUMPAD_NEXT
= wxc
.WXK_NUMPAD_NEXT
667 WXK_NUMPAD_PAGEDOWN
= wxc
.WXK_NUMPAD_PAGEDOWN
668 WXK_NUMPAD_END
= wxc
.WXK_NUMPAD_END
669 WXK_NUMPAD_BEGIN
= wxc
.WXK_NUMPAD_BEGIN
670 WXK_NUMPAD_INSERT
= wxc
.WXK_NUMPAD_INSERT
671 WXK_NUMPAD_DELETE
= wxc
.WXK_NUMPAD_DELETE
672 WXK_NUMPAD_EQUAL
= wxc
.WXK_NUMPAD_EQUAL
673 WXK_NUMPAD_MULTIPLY
= wxc
.WXK_NUMPAD_MULTIPLY
674 WXK_NUMPAD_ADD
= wxc
.WXK_NUMPAD_ADD
675 WXK_NUMPAD_SEPARATOR
= wxc
.WXK_NUMPAD_SEPARATOR
676 WXK_NUMPAD_SUBTRACT
= wxc
.WXK_NUMPAD_SUBTRACT
677 WXK_NUMPAD_DECIMAL
= wxc
.WXK_NUMPAD_DECIMAL
678 WXK_NUMPAD_DIVIDE
= wxc
.WXK_NUMPAD_DIVIDE
679 wxBITMAP_TYPE_INVALID
= wxc
.wxBITMAP_TYPE_INVALID
680 wxBITMAP_TYPE_BMP
= wxc
.wxBITMAP_TYPE_BMP
681 wxBITMAP_TYPE_BMP_RESOURCE
= wxc
.wxBITMAP_TYPE_BMP_RESOURCE
682 wxBITMAP_TYPE_RESOURCE
= wxc
.wxBITMAP_TYPE_RESOURCE
683 wxBITMAP_TYPE_ICO
= wxc
.wxBITMAP_TYPE_ICO
684 wxBITMAP_TYPE_ICO_RESOURCE
= wxc
.wxBITMAP_TYPE_ICO_RESOURCE
685 wxBITMAP_TYPE_CUR
= wxc
.wxBITMAP_TYPE_CUR
686 wxBITMAP_TYPE_CUR_RESOURCE
= wxc
.wxBITMAP_TYPE_CUR_RESOURCE
687 wxBITMAP_TYPE_XBM
= wxc
.wxBITMAP_TYPE_XBM
688 wxBITMAP_TYPE_XBM_DATA
= wxc
.wxBITMAP_TYPE_XBM_DATA
689 wxBITMAP_TYPE_XPM
= wxc
.wxBITMAP_TYPE_XPM
690 wxBITMAP_TYPE_XPM_DATA
= wxc
.wxBITMAP_TYPE_XPM_DATA
691 wxBITMAP_TYPE_TIF
= wxc
.wxBITMAP_TYPE_TIF
692 wxBITMAP_TYPE_TIF_RESOURCE
= wxc
.wxBITMAP_TYPE_TIF_RESOURCE
693 wxBITMAP_TYPE_GIF
= wxc
.wxBITMAP_TYPE_GIF
694 wxBITMAP_TYPE_GIF_RESOURCE
= wxc
.wxBITMAP_TYPE_GIF_RESOURCE
695 wxBITMAP_TYPE_PNG
= wxc
.wxBITMAP_TYPE_PNG
696 wxBITMAP_TYPE_PNG_RESOURCE
= wxc
.wxBITMAP_TYPE_PNG_RESOURCE
697 wxBITMAP_TYPE_JPEG
= wxc
.wxBITMAP_TYPE_JPEG
698 wxBITMAP_TYPE_JPEG_RESOURCE
= wxc
.wxBITMAP_TYPE_JPEG_RESOURCE
699 wxBITMAP_TYPE_PNM
= wxc
.wxBITMAP_TYPE_PNM
700 wxBITMAP_TYPE_PNM_RESOURCE
= wxc
.wxBITMAP_TYPE_PNM_RESOURCE
701 wxBITMAP_TYPE_PCX
= wxc
.wxBITMAP_TYPE_PCX
702 wxBITMAP_TYPE_PCX_RESOURCE
= wxc
.wxBITMAP_TYPE_PCX_RESOURCE
703 wxBITMAP_TYPE_PICT
= wxc
.wxBITMAP_TYPE_PICT
704 wxBITMAP_TYPE_PICT_RESOURCE
= wxc
.wxBITMAP_TYPE_PICT_RESOURCE
705 wxBITMAP_TYPE_ICON
= wxc
.wxBITMAP_TYPE_ICON
706 wxBITMAP_TYPE_ICON_RESOURCE
= wxc
.wxBITMAP_TYPE_ICON_RESOURCE
707 wxBITMAP_TYPE_ANI
= wxc
.wxBITMAP_TYPE_ANI
708 wxBITMAP_TYPE_IFF
= wxc
.wxBITMAP_TYPE_IFF
709 wxBITMAP_TYPE_MACCURSOR
= wxc
.wxBITMAP_TYPE_MACCURSOR
710 wxBITMAP_TYPE_MACCURSOR_RESOURCE
= wxc
.wxBITMAP_TYPE_MACCURSOR_RESOURCE
711 wxBITMAP_TYPE_ANY
= wxc
.wxBITMAP_TYPE_ANY
712 wxCURSOR_NONE
= wxc
.wxCURSOR_NONE
713 wxCURSOR_ARROW
= wxc
.wxCURSOR_ARROW
714 wxCURSOR_RIGHT_ARROW
= wxc
.wxCURSOR_RIGHT_ARROW
715 wxCURSOR_BULLSEYE
= wxc
.wxCURSOR_BULLSEYE
716 wxCURSOR_CHAR
= wxc
.wxCURSOR_CHAR
717 wxCURSOR_CROSS
= wxc
.wxCURSOR_CROSS
718 wxCURSOR_HAND
= wxc
.wxCURSOR_HAND
719 wxCURSOR_IBEAM
= wxc
.wxCURSOR_IBEAM
720 wxCURSOR_LEFT_BUTTON
= wxc
.wxCURSOR_LEFT_BUTTON
721 wxCURSOR_MAGNIFIER
= wxc
.wxCURSOR_MAGNIFIER
722 wxCURSOR_MIDDLE_BUTTON
= wxc
.wxCURSOR_MIDDLE_BUTTON
723 wxCURSOR_NO_ENTRY
= wxc
.wxCURSOR_NO_ENTRY
724 wxCURSOR_PAINT_BRUSH
= wxc
.wxCURSOR_PAINT_BRUSH
725 wxCURSOR_PENCIL
= wxc
.wxCURSOR_PENCIL
726 wxCURSOR_POINT_LEFT
= wxc
.wxCURSOR_POINT_LEFT
727 wxCURSOR_POINT_RIGHT
= wxc
.wxCURSOR_POINT_RIGHT
728 wxCURSOR_QUESTION_ARROW
= wxc
.wxCURSOR_QUESTION_ARROW
729 wxCURSOR_RIGHT_BUTTON
= wxc
.wxCURSOR_RIGHT_BUTTON
730 wxCURSOR_SIZENESW
= wxc
.wxCURSOR_SIZENESW
731 wxCURSOR_SIZENS
= wxc
.wxCURSOR_SIZENS
732 wxCURSOR_SIZENWSE
= wxc
.wxCURSOR_SIZENWSE
733 wxCURSOR_SIZEWE
= wxc
.wxCURSOR_SIZEWE
734 wxCURSOR_SIZING
= wxc
.wxCURSOR_SIZING
735 wxCURSOR_SPRAYCAN
= wxc
.wxCURSOR_SPRAYCAN
736 wxCURSOR_WAIT
= wxc
.wxCURSOR_WAIT
737 wxCURSOR_WATCH
= wxc
.wxCURSOR_WATCH
738 wxCURSOR_BLANK
= wxc
.wxCURSOR_BLANK
739 wxCURSOR_DEFAULT
= wxc
.wxCURSOR_DEFAULT
740 wxCURSOR_ARROWWAIT
= wxc
.wxCURSOR_ARROWWAIT
741 wxCURSOR_MAX
= wxc
.wxCURSOR_MAX
742 wxPAPER_NONE
= wxc
.wxPAPER_NONE
743 wxPAPER_LETTER
= wxc
.wxPAPER_LETTER
744 wxPAPER_LEGAL
= wxc
.wxPAPER_LEGAL
745 wxPAPER_A4
= wxc
.wxPAPER_A4
746 wxPAPER_CSHEET
= wxc
.wxPAPER_CSHEET
747 wxPAPER_DSHEET
= wxc
.wxPAPER_DSHEET
748 wxPAPER_ESHEET
= wxc
.wxPAPER_ESHEET
749 wxPAPER_LETTERSMALL
= wxc
.wxPAPER_LETTERSMALL
750 wxPAPER_TABLOID
= wxc
.wxPAPER_TABLOID
751 wxPAPER_LEDGER
= wxc
.wxPAPER_LEDGER
752 wxPAPER_STATEMENT
= wxc
.wxPAPER_STATEMENT
753 wxPAPER_EXECUTIVE
= wxc
.wxPAPER_EXECUTIVE
754 wxPAPER_A3
= wxc
.wxPAPER_A3
755 wxPAPER_A4SMALL
= wxc
.wxPAPER_A4SMALL
756 wxPAPER_A5
= wxc
.wxPAPER_A5
757 wxPAPER_B4
= wxc
.wxPAPER_B4
758 wxPAPER_B5
= wxc
.wxPAPER_B5
759 wxPAPER_FOLIO
= wxc
.wxPAPER_FOLIO
760 wxPAPER_QUARTO
= wxc
.wxPAPER_QUARTO
761 wxPAPER_10X14
= wxc
.wxPAPER_10X14
762 wxPAPER_11X17
= wxc
.wxPAPER_11X17
763 wxPAPER_NOTE
= wxc
.wxPAPER_NOTE
764 wxPAPER_ENV_9
= wxc
.wxPAPER_ENV_9
765 wxPAPER_ENV_10
= wxc
.wxPAPER_ENV_10
766 wxPAPER_ENV_11
= wxc
.wxPAPER_ENV_11
767 wxPAPER_ENV_12
= wxc
.wxPAPER_ENV_12
768 wxPAPER_ENV_14
= wxc
.wxPAPER_ENV_14
769 wxPAPER_ENV_DL
= wxc
.wxPAPER_ENV_DL
770 wxPAPER_ENV_C5
= wxc
.wxPAPER_ENV_C5
771 wxPAPER_ENV_C3
= wxc
.wxPAPER_ENV_C3
772 wxPAPER_ENV_C4
= wxc
.wxPAPER_ENV_C4
773 wxPAPER_ENV_C6
= wxc
.wxPAPER_ENV_C6
774 wxPAPER_ENV_C65
= wxc
.wxPAPER_ENV_C65
775 wxPAPER_ENV_B4
= wxc
.wxPAPER_ENV_B4
776 wxPAPER_ENV_B5
= wxc
.wxPAPER_ENV_B5
777 wxPAPER_ENV_B6
= wxc
.wxPAPER_ENV_B6
778 wxPAPER_ENV_ITALY
= wxc
.wxPAPER_ENV_ITALY
779 wxPAPER_ENV_MONARCH
= wxc
.wxPAPER_ENV_MONARCH
780 wxPAPER_ENV_PERSONAL
= wxc
.wxPAPER_ENV_PERSONAL
781 wxPAPER_FANFOLD_US
= wxc
.wxPAPER_FANFOLD_US
782 wxPAPER_FANFOLD_STD_GERMAN
= wxc
.wxPAPER_FANFOLD_STD_GERMAN
783 wxPAPER_FANFOLD_LGL_GERMAN
= wxc
.wxPAPER_FANFOLD_LGL_GERMAN
784 wxPAPER_ISO_B4
= wxc
.wxPAPER_ISO_B4
785 wxPAPER_JAPANESE_POSTCARD
= wxc
.wxPAPER_JAPANESE_POSTCARD
786 wxPAPER_9X11
= wxc
.wxPAPER_9X11
787 wxPAPER_10X11
= wxc
.wxPAPER_10X11
788 wxPAPER_15X11
= wxc
.wxPAPER_15X11
789 wxPAPER_ENV_INVITE
= wxc
.wxPAPER_ENV_INVITE
790 wxPAPER_LETTER_EXTRA
= wxc
.wxPAPER_LETTER_EXTRA
791 wxPAPER_LEGAL_EXTRA
= wxc
.wxPAPER_LEGAL_EXTRA
792 wxPAPER_TABLOID_EXTRA
= wxc
.wxPAPER_TABLOID_EXTRA
793 wxPAPER_A4_EXTRA
= wxc
.wxPAPER_A4_EXTRA
794 wxPAPER_LETTER_TRANSVERSE
= wxc
.wxPAPER_LETTER_TRANSVERSE
795 wxPAPER_A4_TRANSVERSE
= wxc
.wxPAPER_A4_TRANSVERSE
796 wxPAPER_LETTER_EXTRA_TRANSVERSE
= wxc
.wxPAPER_LETTER_EXTRA_TRANSVERSE
797 wxPAPER_A_PLUS
= wxc
.wxPAPER_A_PLUS
798 wxPAPER_B_PLUS
= wxc
.wxPAPER_B_PLUS
799 wxPAPER_LETTER_PLUS
= wxc
.wxPAPER_LETTER_PLUS
800 wxPAPER_A4_PLUS
= wxc
.wxPAPER_A4_PLUS
801 wxPAPER_A5_TRANSVERSE
= wxc
.wxPAPER_A5_TRANSVERSE
802 wxPAPER_B5_TRANSVERSE
= wxc
.wxPAPER_B5_TRANSVERSE
803 wxPAPER_A3_EXTRA
= wxc
.wxPAPER_A3_EXTRA
804 wxPAPER_A5_EXTRA
= wxc
.wxPAPER_A5_EXTRA
805 wxPAPER_B5_EXTRA
= wxc
.wxPAPER_B5_EXTRA
806 wxPAPER_A2
= wxc
.wxPAPER_A2
807 wxPAPER_A3_TRANSVERSE
= wxc
.wxPAPER_A3_TRANSVERSE
808 wxPAPER_A3_EXTRA_TRANSVERSE
= wxc
.wxPAPER_A3_EXTRA_TRANSVERSE
809 wxDUPLEX_SIMPLEX
= wxc
.wxDUPLEX_SIMPLEX
810 wxDUPLEX_HORIZONTAL
= wxc
.wxDUPLEX_HORIZONTAL
811 wxDUPLEX_VERTICAL
= wxc
.wxDUPLEX_VERTICAL
812 wxITEM_SEPARATOR
= wxc
.wxITEM_SEPARATOR
813 wxITEM_NORMAL
= wxc
.wxITEM_NORMAL
814 wxITEM_CHECK
= wxc
.wxITEM_CHECK
815 wxITEM_RADIO
= wxc
.wxITEM_RADIO
816 wxITEM_MAX
= wxc
.wxITEM_MAX
817 wxHT_NOWHERE
= wxc
.wxHT_NOWHERE
818 wxHT_SCROLLBAR_FIRST
= wxc
.wxHT_SCROLLBAR_FIRST
819 wxHT_SCROLLBAR_ARROW_LINE_1
= wxc
.wxHT_SCROLLBAR_ARROW_LINE_1
820 wxHT_SCROLLBAR_ARROW_LINE_2
= wxc
.wxHT_SCROLLBAR_ARROW_LINE_2
821 wxHT_SCROLLBAR_ARROW_PAGE_1
= wxc
.wxHT_SCROLLBAR_ARROW_PAGE_1
822 wxHT_SCROLLBAR_ARROW_PAGE_2
= wxc
.wxHT_SCROLLBAR_ARROW_PAGE_2
823 wxHT_SCROLLBAR_THUMB
= wxc
.wxHT_SCROLLBAR_THUMB
824 wxHT_SCROLLBAR_BAR_1
= wxc
.wxHT_SCROLLBAR_BAR_1
825 wxHT_SCROLLBAR_BAR_2
= wxc
.wxHT_SCROLLBAR_BAR_2
826 wxHT_SCROLLBAR_LAST
= wxc
.wxHT_SCROLLBAR_LAST
827 wxHT_WINDOW_OUTSIDE
= wxc
.wxHT_WINDOW_OUTSIDE
828 wxHT_WINDOW_INSIDE
= wxc
.wxHT_WINDOW_INSIDE
829 wxHT_WINDOW_VERT_SCROLLBAR
= wxc
.wxHT_WINDOW_VERT_SCROLLBAR
830 wxHT_WINDOW_HORZ_SCROLLBAR
= wxc
.wxHT_WINDOW_HORZ_SCROLLBAR
831 wxHT_WINDOW_CORNER
= wxc
.wxHT_WINDOW_CORNER
832 wxHT_MAX
= wxc
.wxHT_MAX
833 wxEVT_NULL
= wxc
.wxEVT_NULL
834 wxEVT_FIRST
= wxc
.wxEVT_FIRST
835 wxEVT_COMMAND_BUTTON_CLICKED
= wxc
.wxEVT_COMMAND_BUTTON_CLICKED
836 wxEVT_COMMAND_CHECKBOX_CLICKED
= wxc
.wxEVT_COMMAND_CHECKBOX_CLICKED
837 wxEVT_COMMAND_CHOICE_SELECTED
= wxc
.wxEVT_COMMAND_CHOICE_SELECTED
838 wxEVT_COMMAND_LISTBOX_SELECTED
= wxc
.wxEVT_COMMAND_LISTBOX_SELECTED
839 wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
= wxc
.wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
840 wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
= wxc
.wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
841 wxEVT_COMMAND_SPINCTRL_UPDATED
= wxc
.wxEVT_COMMAND_SPINCTRL_UPDATED
842 wxEVT_COMMAND_TEXT_UPDATED
= wxc
.wxEVT_COMMAND_TEXT_UPDATED
843 wxEVT_COMMAND_TEXT_ENTER
= wxc
.wxEVT_COMMAND_TEXT_ENTER
844 wxEVT_COMMAND_TEXT_URL
= wxc
.wxEVT_COMMAND_TEXT_URL
845 wxEVT_COMMAND_TEXT_MAXLEN
= wxc
.wxEVT_COMMAND_TEXT_MAXLEN
846 wxEVT_COMMAND_MENU_SELECTED
= wxc
.wxEVT_COMMAND_MENU_SELECTED
847 wxEVT_COMMAND_SLIDER_UPDATED
= wxc
.wxEVT_COMMAND_SLIDER_UPDATED
848 wxEVT_COMMAND_RADIOBOX_SELECTED
= wxc
.wxEVT_COMMAND_RADIOBOX_SELECTED
849 wxEVT_COMMAND_RADIOBUTTON_SELECTED
= wxc
.wxEVT_COMMAND_RADIOBUTTON_SELECTED
850 wxEVT_COMMAND_SCROLLBAR_UPDATED
= wxc
.wxEVT_COMMAND_SCROLLBAR_UPDATED
851 wxEVT_COMMAND_VLBOX_SELECTED
= wxc
.wxEVT_COMMAND_VLBOX_SELECTED
852 wxEVT_COMMAND_COMBOBOX_SELECTED
= wxc
.wxEVT_COMMAND_COMBOBOX_SELECTED
853 wxEVT_COMMAND_TOOL_CLICKED
= wxc
.wxEVT_COMMAND_TOOL_CLICKED
854 wxEVT_COMMAND_TOOL_RCLICKED
= wxc
.wxEVT_COMMAND_TOOL_RCLICKED
855 wxEVT_COMMAND_TOOL_ENTER
= wxc
.wxEVT_COMMAND_TOOL_ENTER
856 wxEVT_SET_FOCUS
= wxc
.wxEVT_SET_FOCUS
857 wxEVT_KILL_FOCUS
= wxc
.wxEVT_KILL_FOCUS
858 wxEVT_CHILD_FOCUS
= wxc
.wxEVT_CHILD_FOCUS
859 wxEVT_MOUSEWHEEL
= wxc
.wxEVT_MOUSEWHEEL
860 wxEVT_LEFT_DOWN
= wxc
.wxEVT_LEFT_DOWN
861 wxEVT_LEFT_UP
= wxc
.wxEVT_LEFT_UP
862 wxEVT_MIDDLE_DOWN
= wxc
.wxEVT_MIDDLE_DOWN
863 wxEVT_MIDDLE_UP
= wxc
.wxEVT_MIDDLE_UP
864 wxEVT_RIGHT_DOWN
= wxc
.wxEVT_RIGHT_DOWN
865 wxEVT_RIGHT_UP
= wxc
.wxEVT_RIGHT_UP
866 wxEVT_MOTION
= wxc
.wxEVT_MOTION
867 wxEVT_ENTER_WINDOW
= wxc
.wxEVT_ENTER_WINDOW
868 wxEVT_LEAVE_WINDOW
= wxc
.wxEVT_LEAVE_WINDOW
869 wxEVT_LEFT_DCLICK
= wxc
.wxEVT_LEFT_DCLICK
870 wxEVT_MIDDLE_DCLICK
= wxc
.wxEVT_MIDDLE_DCLICK
871 wxEVT_RIGHT_DCLICK
= wxc
.wxEVT_RIGHT_DCLICK
872 wxEVT_MOUSE_CAPTURE_CHANGED
= wxc
.wxEVT_MOUSE_CAPTURE_CHANGED
873 wxEVT_NC_LEFT_DOWN
= wxc
.wxEVT_NC_LEFT_DOWN
874 wxEVT_NC_LEFT_UP
= wxc
.wxEVT_NC_LEFT_UP
875 wxEVT_NC_MIDDLE_DOWN
= wxc
.wxEVT_NC_MIDDLE_DOWN
876 wxEVT_NC_MIDDLE_UP
= wxc
.wxEVT_NC_MIDDLE_UP
877 wxEVT_NC_RIGHT_DOWN
= wxc
.wxEVT_NC_RIGHT_DOWN
878 wxEVT_NC_RIGHT_UP
= wxc
.wxEVT_NC_RIGHT_UP
879 wxEVT_NC_MOTION
= wxc
.wxEVT_NC_MOTION
880 wxEVT_NC_ENTER_WINDOW
= wxc
.wxEVT_NC_ENTER_WINDOW
881 wxEVT_NC_LEAVE_WINDOW
= wxc
.wxEVT_NC_LEAVE_WINDOW
882 wxEVT_NC_LEFT_DCLICK
= wxc
.wxEVT_NC_LEFT_DCLICK
883 wxEVT_NC_MIDDLE_DCLICK
= wxc
.wxEVT_NC_MIDDLE_DCLICK
884 wxEVT_NC_RIGHT_DCLICK
= wxc
.wxEVT_NC_RIGHT_DCLICK
885 wxEVT_SET_CURSOR
= wxc
.wxEVT_SET_CURSOR
886 wxEVT_CHAR
= wxc
.wxEVT_CHAR
887 wxEVT_KEY_DOWN
= wxc
.wxEVT_KEY_DOWN
888 wxEVT_KEY_UP
= wxc
.wxEVT_KEY_UP
889 wxEVT_CHAR_HOOK
= wxc
.wxEVT_CHAR_HOOK
890 wxEVT_SCROLL_TOP
= wxc
.wxEVT_SCROLL_TOP
891 wxEVT_SCROLL_BOTTOM
= wxc
.wxEVT_SCROLL_BOTTOM
892 wxEVT_SCROLL_LINEUP
= wxc
.wxEVT_SCROLL_LINEUP
893 wxEVT_SCROLL_LINEDOWN
= wxc
.wxEVT_SCROLL_LINEDOWN
894 wxEVT_SCROLL_PAGEUP
= wxc
.wxEVT_SCROLL_PAGEUP
895 wxEVT_SCROLL_PAGEDOWN
= wxc
.wxEVT_SCROLL_PAGEDOWN
896 wxEVT_SCROLL_THUMBTRACK
= wxc
.wxEVT_SCROLL_THUMBTRACK
897 wxEVT_SCROLL_THUMBRELEASE
= wxc
.wxEVT_SCROLL_THUMBRELEASE
898 wxEVT_SCROLL_ENDSCROLL
= wxc
.wxEVT_SCROLL_ENDSCROLL
899 wxEVT_SCROLLWIN_TOP
= wxc
.wxEVT_SCROLLWIN_TOP
900 wxEVT_SCROLLWIN_BOTTOM
= wxc
.wxEVT_SCROLLWIN_BOTTOM
901 wxEVT_SCROLLWIN_LINEUP
= wxc
.wxEVT_SCROLLWIN_LINEUP
902 wxEVT_SCROLLWIN_LINEDOWN
= wxc
.wxEVT_SCROLLWIN_LINEDOWN
903 wxEVT_SCROLLWIN_PAGEUP
= wxc
.wxEVT_SCROLLWIN_PAGEUP
904 wxEVT_SCROLLWIN_PAGEDOWN
= wxc
.wxEVT_SCROLLWIN_PAGEDOWN
905 wxEVT_SCROLLWIN_THUMBTRACK
= wxc
.wxEVT_SCROLLWIN_THUMBTRACK
906 wxEVT_SCROLLWIN_THUMBRELEASE
= wxc
.wxEVT_SCROLLWIN_THUMBRELEASE
907 wxEVT_SIZE
= wxc
.wxEVT_SIZE
908 wxEVT_MOVE
= wxc
.wxEVT_MOVE
909 wxEVT_CLOSE_WINDOW
= wxc
.wxEVT_CLOSE_WINDOW
910 wxEVT_END_SESSION
= wxc
.wxEVT_END_SESSION
911 wxEVT_QUERY_END_SESSION
= wxc
.wxEVT_QUERY_END_SESSION
912 wxEVT_ACTIVATE_APP
= wxc
.wxEVT_ACTIVATE_APP
913 wxEVT_POWER
= wxc
.wxEVT_POWER
914 wxEVT_ACTIVATE
= wxc
.wxEVT_ACTIVATE
915 wxEVT_CREATE
= wxc
.wxEVT_CREATE
916 wxEVT_DESTROY
= wxc
.wxEVT_DESTROY
917 wxEVT_SHOW
= wxc
.wxEVT_SHOW
918 wxEVT_ICONIZE
= wxc
.wxEVT_ICONIZE
919 wxEVT_MAXIMIZE
= wxc
.wxEVT_MAXIMIZE
920 wxEVT_PAINT
= wxc
.wxEVT_PAINT
921 wxEVT_ERASE_BACKGROUND
= wxc
.wxEVT_ERASE_BACKGROUND
922 wxEVT_NC_PAINT
= wxc
.wxEVT_NC_PAINT
923 wxEVT_PAINT_ICON
= wxc
.wxEVT_PAINT_ICON
924 wxEVT_MENU_OPEN
= wxc
.wxEVT_MENU_OPEN
925 wxEVT_MENU_CLOSE
= wxc
.wxEVT_MENU_CLOSE
926 wxEVT_MENU_HIGHLIGHT
= wxc
.wxEVT_MENU_HIGHLIGHT
927 wxEVT_CONTEXT_MENU
= wxc
.wxEVT_CONTEXT_MENU
928 wxEVT_SYS_COLOUR_CHANGED
= wxc
.wxEVT_SYS_COLOUR_CHANGED
929 wxEVT_DISPLAY_CHANGED
= wxc
.wxEVT_DISPLAY_CHANGED
930 wxEVT_SETTING_CHANGED
= wxc
.wxEVT_SETTING_CHANGED
931 wxEVT_QUERY_NEW_PALETTE
= wxc
.wxEVT_QUERY_NEW_PALETTE
932 wxEVT_PALETTE_CHANGED
= wxc
.wxEVT_PALETTE_CHANGED
933 wxEVT_JOY_BUTTON_DOWN
= wxc
.wxEVT_JOY_BUTTON_DOWN
934 wxEVT_JOY_BUTTON_UP
= wxc
.wxEVT_JOY_BUTTON_UP
935 wxEVT_JOY_MOVE
= wxc
.wxEVT_JOY_MOVE
936 wxEVT_JOY_ZMOVE
= wxc
.wxEVT_JOY_ZMOVE
937 wxEVT_DROP_FILES
= wxc
.wxEVT_DROP_FILES
938 wxEVT_DRAW_ITEM
= wxc
.wxEVT_DRAW_ITEM
939 wxEVT_MEASURE_ITEM
= wxc
.wxEVT_MEASURE_ITEM
940 wxEVT_COMPARE_ITEM
= wxc
.wxEVT_COMPARE_ITEM
941 wxEVT_INIT_DIALOG
= wxc
.wxEVT_INIT_DIALOG
942 wxEVT_IDLE
= wxc
.wxEVT_IDLE
943 wxEVT_UPDATE_UI
= wxc
.wxEVT_UPDATE_UI
944 wxEVT_COMMAND_LEFT_CLICK
= wxc
.wxEVT_COMMAND_LEFT_CLICK
945 wxEVT_COMMAND_LEFT_DCLICK
= wxc
.wxEVT_COMMAND_LEFT_DCLICK
946 wxEVT_COMMAND_RIGHT_CLICK
= wxc
.wxEVT_COMMAND_RIGHT_CLICK
947 wxEVT_COMMAND_RIGHT_DCLICK
= wxc
.wxEVT_COMMAND_RIGHT_DCLICK
948 wxEVT_COMMAND_SET_FOCUS
= wxc
.wxEVT_COMMAND_SET_FOCUS
949 wxEVT_COMMAND_KILL_FOCUS
= wxc
.wxEVT_COMMAND_KILL_FOCUS
950 wxEVT_COMMAND_ENTER
= wxc
.wxEVT_COMMAND_ENTER
951 wxEVT_NAVIGATION_KEY
= wxc
.wxEVT_NAVIGATION_KEY
952 wxEVT_TIMER
= wxc
.wxEVT_TIMER
953 __version__
= wxc
.__version
__
955 wxDefaultPosition
= wxPointPtr(wxc
.cvar
.wxDefaultPosition
)
956 wxDefaultSize
= wxSizePtr(wxc
.cvar
.wxDefaultSize
)
957 wxPYAPP_ASSERT_SUPPRESS
= wxc
.wxPYAPP_ASSERT_SUPPRESS
958 wxPYAPP_ASSERT_EXCEPTION
= wxc
.wxPYAPP_ASSERT_EXCEPTION
959 wxPYAPP_ASSERT_DIALOG
= wxc
.wxPYAPP_ASSERT_DIALOG
960 wxPYAPP_ASSERT_LOG
= wxc
.wxPYAPP_ASSERT_LOG
963 #-------------- USER INCLUDE -----------------------
965 #----------------------------------------------------------------------------
967 # Purpose: This file is appended to the shadow class file generated
968 # by SWIG. We add some unSWIGable things here.
973 # Copyright: (c) 1998 by Total Control Software
974 # Licence: wxWindows license
975 #----------------------------------------------------------------------------
979 #----------------------------------------------------------------------
980 # This gives this module's dictionary to the C++ extension code...
982 _wxSetDictionary(vars())
985 #----------------------------------------------------------------------
986 #----------------------------------------------------------------------
987 # Helper function to link python methods to wxWindows virtual
990 def _checkForCallback(obj
, name
, event
, theID
=-1):
991 try: cb
= getattr(obj
, name
)
993 else: obj
.Connect(theID
, -1, event
, cb
)
996 #----------------------------------------------------------------------
997 #----------------------------------------------------------------------
998 # functions that look and act like the C++ Macros of the same name
1002 def EVT_SIZE(win
, func
):
1003 win
.Connect(-1, -1, wxEVT_SIZE
, func
)
1005 def EVT_MOVE(win
, func
):
1006 win
.Connect(-1, -1, wxEVT_MOVE
, func
)
1008 def EVT_CLOSE(win
, func
):
1009 win
.Connect(-1, -1, wxEVT_CLOSE_WINDOW
, func
)
1011 def EVT_PAINT(win
, func
):
1012 win
.Connect(-1, -1, wxEVT_PAINT
, func
)
1014 def EVT_ERASE_BACKGROUND(win
, func
):
1015 win
.Connect(-1, -1, wxEVT_ERASE_BACKGROUND
, func
)
1017 def EVT_CHAR(win
, func
):
1018 win
.Connect(-1, -1, wxEVT_CHAR
, func
)
1020 def EVT_CHAR_HOOK(win
, func
):
1021 win
.Connect(-1, -1, wxEVT_CHAR_HOOK
, func
)
1023 def EVT_KEY_DOWN(win
, func
):
1024 win
.Connect(-1, -1, wxEVT_KEY_DOWN
, func
)
1026 def EVT_KEY_UP(win
, func
):
1027 win
.Connect(-1, -1, wxEVT_KEY_UP
, func
)
1029 def EVT_MENU_OPEN(win
, func
):
1030 win
.Connect(-1, -1, wxEVT_MENU_OPEN
, func
)
1032 def EVT_MENU_CLOSE(win
, func
):
1033 win
.Connect(-1, -1, wxEVT_MENU_CLOSE
, func
)
1035 def EVT_MENU_HIGHLIGHT(win
, id, func
):
1036 win
.Connect(id, -1, wxEVT_MENU_HIGHLIGHT
, func
)
1038 def EVT_MENU_HIGHLIGHT_ALL(win
, func
):
1039 win
.Connect(-1, -1, wxEVT_MENU_HIGHLIGHT
, func
)
1041 def EVT_SET_FOCUS(win
, func
):
1042 win
.Connect(-1, -1, wxEVT_SET_FOCUS
, func
)
1044 def EVT_KILL_FOCUS(win
, func
):
1045 win
.Connect(-1, -1, wxEVT_KILL_FOCUS
, func
)
1047 def EVT_CHILD_FOCUS(win
, func
):
1048 win
.Connect(-1, -1, wxEVT_CHILD_FOCUS
, func
)
1050 def EVT_ACTIVATE(win
, func
):
1051 win
.Connect(-1, -1, wxEVT_ACTIVATE
, func
)
1053 def EVT_ACTIVATE_APP(win
, func
):
1054 win
.Connect(-1, -1, wxEVT_ACTIVATE_APP
, func
)
1056 def EVT_END_SESSION(win
, func
):
1057 win
.Connect(-1, -1, wxEVT_END_SESSION
, func
)
1059 def EVT_QUERY_END_SESSION(win
, func
):
1060 win
.Connect(-1, -1, wxEVT_QUERY_END_SESSION
, func
)
1062 def EVT_DROP_FILES(win
, func
):
1063 win
.Connect(-1, -1, wxEVT_DROP_FILES
, func
)
1065 def EVT_INIT_DIALOG(win
, func
):
1066 win
.Connect(-1, -1, wxEVT_INIT_DIALOG
, func
)
1068 def EVT_SYS_COLOUR_CHANGED(win
, func
):
1069 win
.Connect(-1, -1, wxEVT_SYS_COLOUR_CHANGED
, func
)
1071 def EVT_DISPLAY_CHANGED(win
, func
):
1072 win
.Connect(-1, -1, wxEVT_DISPLAY_CHANGED
, func
)
1074 def EVT_SHOW(win
, func
):
1075 win
.Connect(-1, -1, wxEVT_SHOW
, func
)
1077 def EVT_MAXIMIZE(win
, func
):
1078 win
.Connect(-1, -1, wxEVT_MAXIMIZE
, func
)
1080 def EVT_ICONIZE(win
, func
):
1081 win
.Connect(-1, -1, wxEVT_ICONIZE
, func
)
1083 def EVT_NAVIGATION_KEY(win
, func
):
1084 win
.Connect(-1, -1, wxEVT_NAVIGATION_KEY
, func
)
1086 def EVT_PALETTE_CHANGED(win
, func
):
1087 win
.Connect(-1, -1, wxEVT_PALETTE_CHANGED
, func
)
1089 def EVT_QUERY_NEW_PALETTE(win
, func
):
1090 win
.Connect(-1, -1, wxEVT_QUERY_NEW_PALETTE
, func
)
1092 def EVT_WINDOW_CREATE(win
, func
):
1093 win
.Connect(-1, -1, wxEVT_CREATE
, func
)
1095 def EVT_WINDOW_DESTROY(win
, func
):
1096 win
.Connect(-1, -1, wxEVT_DESTROY
, func
)
1098 def EVT_WINDOW_CREATE_ID(win
, id, func
):
1099 win
.Connect(id, -1, wxEVT_CREATE
, func
)
1101 def EVT_WINDOW_DESTROY_ID(win
, id, func
):
1102 win
.Connect(id, -1, wxEVT_DESTROY
, func
)
1104 def EVT_SET_CURSOR(win
, func
):
1105 win
.Connect(-1, -1, wxEVT_SET_CURSOR
, func
)
1109 def EVT_IDLE(win
, func
):
1110 win
.Connect(-1, -1, wxEVT_IDLE
, func
)
1112 def EVT_UPDATE_UI(win
, id, func
):
1113 win
.Connect(id, -1, wxEVT_UPDATE_UI
, func
)
1115 def EVT_UPDATE_UI_RANGE(win
, id, id2
, func
):
1116 win
.Connect(id, id2
, wxEVT_UPDATE_UI
, func
)
1120 def EVT_LEFT_DOWN(win
, func
):
1121 win
.Connect(-1, -1, wxEVT_LEFT_DOWN
, func
)
1123 def EVT_LEFT_UP(win
, func
):
1124 win
.Connect(-1, -1, wxEVT_LEFT_UP
, func
)
1126 def EVT_MIDDLE_DOWN(win
, func
):
1127 win
.Connect(-1, -1, wxEVT_MIDDLE_DOWN
, func
)
1129 def EVT_MIDDLE_UP(win
, func
):
1130 win
.Connect(-1, -1, wxEVT_MIDDLE_UP
, func
)
1132 def EVT_RIGHT_DOWN(win
, func
):
1133 win
.Connect(-1, -1, wxEVT_RIGHT_DOWN
, func
)
1135 def EVT_RIGHT_UP(win
, func
):
1136 win
.Connect(-1, -1, wxEVT_RIGHT_UP
, func
)
1138 def EVT_MOTION(win
, func
):
1139 win
.Connect(-1, -1, wxEVT_MOTION
, func
)
1141 def EVT_LEFT_DCLICK(win
, func
):
1142 win
.Connect(-1, -1, wxEVT_LEFT_DCLICK
, func
)
1144 def EVT_MIDDLE_DCLICK(win
, func
):
1145 win
.Connect(-1, -1, wxEVT_MIDDLE_DCLICK
, func
)
1147 def EVT_RIGHT_DCLICK(win
, func
):
1148 win
.Connect(-1, -1, wxEVT_RIGHT_DCLICK
, func
)
1150 def EVT_LEAVE_WINDOW(win
, func
):
1151 win
.Connect(-1, -1, wxEVT_LEAVE_WINDOW
, func
)
1153 def EVT_ENTER_WINDOW(win
, func
):
1154 win
.Connect(-1, -1, wxEVT_ENTER_WINDOW
, func
)
1156 def EVT_MOUSEWHEEL(win
, func
):
1157 win
.Connect(-1, -1, wxEVT_MOUSEWHEEL
, func
)
1160 def EVT_MOUSE_EVENTS(win
, func
):
1161 win
.Connect(-1, -1, wxEVT_LEFT_DOWN
, func
)
1162 win
.Connect(-1, -1, wxEVT_LEFT_UP
, func
)
1163 win
.Connect(-1, -1, wxEVT_MIDDLE_DOWN
, func
)
1164 win
.Connect(-1, -1, wxEVT_MIDDLE_UP
, func
)
1165 win
.Connect(-1, -1, wxEVT_RIGHT_DOWN
, func
)
1166 win
.Connect(-1, -1, wxEVT_RIGHT_UP
, func
)
1167 win
.Connect(-1, -1, wxEVT_MOTION
, func
)
1168 win
.Connect(-1, -1, wxEVT_LEFT_DCLICK
, func
)
1169 win
.Connect(-1, -1, wxEVT_MIDDLE_DCLICK
, func
)
1170 win
.Connect(-1, -1, wxEVT_RIGHT_DCLICK
, func
)
1171 win
.Connect(-1, -1, wxEVT_LEAVE_WINDOW
, func
)
1172 win
.Connect(-1, -1, wxEVT_ENTER_WINDOW
, func
)
1174 def EVT_MOUSE_CAPTURE_CHANGED(win
, func
):
1175 win
.Connect(-1, -1, wxEVT_MOUSE_CAPTURE_CHANGED
, func
)
1178 def EVT_COMMAND(win
, id, cmd
, func
):
1179 win
.Connect(id, -1, cmd
, func
)
1181 def EVT_COMMAND_RANGE(win
, id1
, id2
, cmd
, func
):
1182 win
.Connect(id1
, id2
, cmd
, func
)
1186 def EVT_SCROLL(win
, func
):
1187 win
.Connect(-1, -1, wxEVT_SCROLL_TOP
, func
)
1188 win
.Connect(-1, -1, wxEVT_SCROLL_BOTTOM
, func
)
1189 win
.Connect(-1, -1, wxEVT_SCROLL_LINEUP
, func
)
1190 win
.Connect(-1, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1191 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEUP
, func
)
1192 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
1193 win
.Connect(-1, -1, wxEVT_SCROLL_THUMBTRACK
, func
)
1194 win
.Connect(-1, -1, wxEVT_SCROLL_THUMBRELEASE
,func
)
1195 win
.Connect(-1, -1, wxEVT_SCROLL_ENDSCROLL
, func
)
1197 def EVT_SCROLL_TOP(win
, func
):
1198 win
.Connect(-1, -1, wxEVT_SCROLL_TOP
, func
)
1200 def EVT_SCROLL_BOTTOM(win
, func
):
1201 win
.Connect(-1, -1, wxEVT_SCROLL_BOTTOM
, func
)
1203 def EVT_SCROLL_LINEUP(win
, func
):
1204 win
.Connect(-1, -1, wxEVT_SCROLL_LINEUP
, func
)
1206 def EVT_SCROLL_LINEDOWN(win
, func
):
1207 win
.Connect(-1, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1209 def EVT_SCROLL_PAGEUP(win
, func
):
1210 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEUP
, func
)
1212 def EVT_SCROLL_PAGEDOWN(win
, func
):
1213 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
1215 def EVT_SCROLL_THUMBTRACK(win
, func
):
1216 win
.Connect(-1, -1, wxEVT_SCROLL_THUMBTRACK
, func
)
1218 def EVT_SCROLL_THUMBRELEASE(win
, func
):
1219 win
.Connect(-1, -1, wxEVT_SCROLL_THUMBRELEASE
, func
)
1221 def EVT_SCROLL_ENDSCROLL(win
, func
):
1222 win
.Connect(-1, -1, wxEVT_SCROLL_ENDSCROLL
, func
)
1226 # Scrolling, with an id
1227 def EVT_COMMAND_SCROLL(win
, id, func
):
1228 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
1229 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
1230 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1231 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1232 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
1233 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
1234 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
1235 win
.Connect(id, -1, wxEVT_SCROLL_THUMBRELEASE
,func
)
1236 win
.Connect(id, -1, wxEVT_SCROLL_ENDSCROLL
, func
)
1238 def EVT_COMMAND_SCROLL_TOP(win
, id, func
):
1239 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
1241 def EVT_COMMAND_SCROLL_BOTTOM(win
, id, func
):
1242 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
1244 def EVT_COMMAND_SCROLL_LINEUP(win
, id, func
):
1245 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1247 def EVT_COMMAND_SCROLL_LINEDOWN(win
, id, func
):
1248 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1250 def EVT_COMMAND_SCROLL_PAGEUP(win
, id, func
):
1251 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
1253 def EVT_COMMAND_SCROLL_PAGEDOWN(win
, id, func
):
1254 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
1256 def EVT_COMMAND_SCROLL_THUMBTRACK(win
, id, func
):
1257 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
, func
)
1259 def EVT_COMMAND_SCROLL_THUMBRELEASE(win
, id, func
):
1260 win
.Connect(id, -1, wxEVT_SCROLL_THUMBRELEASE
, func
)
1262 def EVT_COMMAND_SCROLL_ENDSCROLL(win
, id, func
):
1263 win
.Connect(id, -1, wxEVT_SCROLL_ENDSCROLL
, func
)
1266 def EVT_SCROLLWIN(win
, func
):
1267 win
.Connect(-1, -1, wxEVT_SCROLLWIN_TOP
, func
)
1268 win
.Connect(-1, -1, wxEVT_SCROLLWIN_BOTTOM
, func
)
1269 win
.Connect(-1, -1, wxEVT_SCROLLWIN_LINEUP
, func
)
1270 win
.Connect(-1, -1, wxEVT_SCROLLWIN_LINEDOWN
, func
)
1271 win
.Connect(-1, -1, wxEVT_SCROLLWIN_PAGEUP
, func
)
1272 win
.Connect(-1, -1, wxEVT_SCROLLWIN_PAGEDOWN
, func
)
1273 win
.Connect(-1, -1, wxEVT_SCROLLWIN_THUMBTRACK
, func
)
1274 win
.Connect(-1, -1, wxEVT_SCROLLWIN_THUMBRELEASE
,func
)
1276 def EVT_SCROLLWIN_TOP(win
, func
):
1277 win
.Connect(-1, -1, wxEVT_SCROLLWIN_TOP
, func
)
1279 def EVT_SCROLLWIN_BOTTOM(win
, func
):
1280 win
.Connect(-1, -1, wxEVT_SCROLLWIN_BOTTOM
, func
)
1282 def EVT_SCROLLWIN_LINEUP(win
, func
):
1283 win
.Connect(-1, -1, wxEVT_SCROLLWIN_LINEUP
, func
)
1285 def EVT_SCROLLWIN_LINEDOWN(win
, func
):
1286 win
.Connect(-1, -1, wxEVT_SCROLLWIN_LINEDOWN
, func
)
1288 def EVT_SCROLLWIN_PAGEUP(win
, func
):
1289 win
.Connect(-1, -1, wxEVT_SCROLLWIN_PAGEUP
, func
)
1291 def EVT_SCROLLWIN_PAGEDOWN(win
, func
):
1292 win
.Connect(-1, -1, wxEVT_SCROLLWIN_PAGEDOWN
, func
)
1294 def EVT_SCROLLWIN_THUMBTRACK(win
, func
):
1295 win
.Connect(-1, -1, wxEVT_SCROLLWIN_THUMBTRACK
, func
)
1297 def EVT_SCROLLWIN_THUMBRELEASE(win
, func
):
1298 win
.Connect(-1, -1, wxEVT_SCROLLWIN_THUMBRELEASE
, func
)
1302 # Scrolling, with an id
1303 def EVT_COMMAND_SCROLLWIN(win
, id, func
):
1304 win
.Connect(id, -1, wxEVT_SCROLLWIN_TOP
, func
)
1305 win
.Connect(id, -1, wxEVT_SCROLLWIN_BOTTOM
, func
)
1306 win
.Connect(id, -1, wxEVT_SCROLLWIN_LINEUP
, func
)
1307 win
.Connect(id, -1, wxEVT_SCROLLWIN_LINEDOWN
, func
)
1308 win
.Connect(id, -1, wxEVT_SCROLLWIN_PAGEUP
, func
)
1309 win
.Connect(id, -1, wxEVT_SCROLLWIN_PAGEDOWN
, func
)
1310 win
.Connect(id, -1, wxEVT_SCROLLWIN_THUMBTRACK
, func
)
1311 win
.Connect(id, -1, wxEVT_SCROLLWIN_THUMBRELEASE
,func
)
1313 def EVT_COMMAND_SCROLLWIN_TOP(win
, id, func
):
1314 win
.Connect(id, -1, wxEVT_SCROLLWIN_TOP
, func
)
1316 def EVT_COMMAND_SCROLLWIN_BOTTOM(win
, id, func
):
1317 win
.Connect(id, -1, wxEVT_SCROLLWIN_BOTTOM
, func
)
1319 def EVT_COMMAND_SCROLLWIN_LINEUP(win
, id, func
):
1320 win
.Connect(id, -1, wxEVT_SCROLLWIN_LINEUP
, func
)
1322 def EVT_COMMAND_SCROLLWIN_LINEDOWN(win
, id, func
):
1323 win
.Connect(id, -1, wxEVT_SCROLLWIN_LINEDOWN
, func
)
1325 def EVT_COMMAND_SCROLLWIN_PAGEUP(win
, id, func
):
1326 win
.Connect(id, -1, wxEVT_SCROLLWIN_PAGEUP
, func
)
1328 def EVT_COMMAND_SCROLLWIN_PAGEDOWN(win
, id, func
):
1329 win
.Connect(id, -1, wxEVT_SCROLLWIN_PAGEDOWN
, func
)
1331 def EVT_COMMAND_SCROLLWIN_THUMBTRACK(win
, id, func
):
1332 win
.Connect(id, -1, wxEVT_SCROLLWIN_THUMBTRACK
, func
)
1334 def EVT_COMMAND_SCROLLWIN_THUMBRELEASE(win
, id, func
):
1335 win
.Connect(id, -1, wxEVT_SCROLLWIN_THUMBRELEASE
, func
)
1338 # Convenience commands
1339 def EVT_BUTTON(win
, id, func
):
1340 win
.Connect(id, -1, wxEVT_COMMAND_BUTTON_CLICKED
, func
)
1342 def EVT_CHECKBOX(win
, id, func
):
1343 win
.Connect(id, -1, wxEVT_COMMAND_CHECKBOX_CLICKED
, func
)
1345 def EVT_CHOICE(win
, id, func
):
1346 win
.Connect(id, -1, wxEVT_COMMAND_CHOICE_SELECTED
, func
)
1348 def EVT_LISTBOX(win
, id, func
):
1349 win
.Connect(id, -1, wxEVT_COMMAND_LISTBOX_SELECTED
, func
)
1351 def EVT_LISTBOX_DCLICK(win
, id, func
):
1352 win
.Connect(id, -1, wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, func
)
1354 def EVT_TEXT(win
, id, func
):
1355 win
.Connect(id, -1, wxEVT_COMMAND_TEXT_UPDATED
, func
)
1357 def EVT_TEXT_ENTER(win
, id, func
):
1358 win
.Connect(id, -1, wxEVT_COMMAND_TEXT_ENTER
, func
)
1360 def EVT_TEXT_URL(win
, id, func
):
1361 win
.Connect(id, -1, wxEVT_COMMAND_TEXT_URL
, func
)
1363 def EVT_TEXT_MAXLEN(win
, id, func
):
1364 win
.Connect(id, -1, wxEVT_COMMAND_TEXT_MAXLEN
, func
)
1366 def EVT_MENU(win
, id, func
):
1367 win
.Connect(id, -1, wxEVT_COMMAND_MENU_SELECTED
, func
)
1369 def EVT_MENU_RANGE(win
, id1
, id2
, func
):
1370 win
.Connect(id1
, id2
, wxEVT_COMMAND_MENU_SELECTED
, func
)
1372 def EVT_SLIDER(win
, id, func
):
1373 win
.Connect(id, -1, wxEVT_COMMAND_SLIDER_UPDATED
, func
)
1375 def EVT_RADIOBOX(win
, id, func
):
1376 win
.Connect(id, -1, wxEVT_COMMAND_RADIOBOX_SELECTED
, func
)
1378 def EVT_RADIOBUTTON(win
, id, func
):
1379 win
.Connect(id, -1, wxEVT_COMMAND_RADIOBUTTON_SELECTED
, func
)
1381 def EVT_VLBOX(win
, id, func
):
1382 win
.Connect(id, -1, wxEVT_COMMAND_VLBOX_SELECTED
, func
)
1384 def EVT_COMBOBOX(win
, id, func
):
1385 win
.Connect(id, -1, wxEVT_COMMAND_COMBOBOX_SELECTED
, func
)
1387 def EVT_TOOL(win
, id, func
):
1388 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_CLICKED
, func
)
1390 def EVT_TOOL_RANGE(win
, id, id2
, func
):
1391 win
.Connect(id, id2
, wxEVT_COMMAND_TOOL_CLICKED
, func
)
1393 def EVT_TOOL_RCLICKED(win
, id, func
):
1394 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_RCLICKED
, func
)
1396 def EVT_TOOL_RCLICKED_RANGE(win
, id, id2
, func
):
1397 win
.Connect(id, id2
, wxEVT_COMMAND_TOOL_RCLICKED
, func
)
1399 def EVT_TOOL_ENTER(win
, id, func
):
1400 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_ENTER
, func
)
1402 def EVT_CHECKLISTBOX(win
, id, func
):
1403 win
.Connect(id, -1, wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, func
)
1405 def EVT_SPINCTRL(win
, id, func
):
1406 win
.Connect(id, -1, wxEVT_COMMAND_SPINCTRL_UPDATED
, func
)
1410 # Generic command events
1412 def EVT_COMMAND_LEFT_CLICK(win
, id, func
):
1413 win
.Connect(id, -1, wxEVT_COMMAND_LEFT_CLICK
, func
)
1415 def EVT_COMMAND_LEFT_DCLICK(win
, id, func
):
1416 win
.Connect(id, -1, wxEVT_COMMAND_LEFT_DCLICK
, func
)
1418 def EVT_COMMAND_RIGHT_CLICK(win
, id, func
):
1419 win
.Connect(id, -1, wxEVT_COMMAND_RIGHT_CLICK
, func
)
1421 def EVT_COMMAND_RIGHT_DCLICK(win
, id, func
):
1422 win
.Connect(id, -1, wxEVT_COMMAND_RIGHT_DCLICK
, func
)
1424 def EVT_COMMAND_SET_FOCUS(win
, id, func
):
1425 win
.Connect(id, -1, wxEVT_COMMAND_SET_FOCUS
, func
)
1427 def EVT_COMMAND_KILL_FOCUS(win
, id, func
):
1428 win
.Connect(id, -1, wxEVT_COMMAND_KILL_FOCUS
, func
)
1430 def EVT_COMMAND_ENTER(win
, id, func
):
1431 win
.Connect(id, -1, wxEVT_COMMAND_ENTER
, func
)
1435 def EVT_NOTEBOOK_PAGE_CHANGED(win
, id, func
):
1436 win
.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, func
)
1438 def EVT_NOTEBOOK_PAGE_CHANGING(win
, id, func
):
1439 win
.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, func
)
1443 def EVT_SPIN_UP(win
, id, func
):
1444 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1446 def EVT_SPIN_DOWN(win
, id, func
):
1447 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1449 def EVT_SPIN(win
, id, func
):
1450 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
1454 def EVT_TASKBAR_MOVE(win
, func
):
1455 win
.Connect(-1, -1, wxEVT_TASKBAR_MOVE
, func
)
1457 def EVT_TASKBAR_LEFT_DOWN(win
, func
):
1458 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_DOWN
, func
)
1460 def EVT_TASKBAR_LEFT_UP(win
, func
):
1461 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_UP
, func
)
1463 def EVT_TASKBAR_RIGHT_DOWN(win
, func
):
1464 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_DOWN
, func
)
1466 def EVT_TASKBAR_RIGHT_UP(win
, func
):
1467 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_UP
, func
)
1469 def EVT_TASKBAR_LEFT_DCLICK(win
, func
):
1470 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_DCLICK
, func
)
1472 def EVT_TASKBAR_RIGHT_DCLICK(win
, func
):
1473 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_DCLICK
, func
)
1477 def EVT_SASH_DRAGGED(win
, id, func
):
1478 win
.Connect(id, -1, wxEVT_SASH_DRAGGED
, func
)
1480 def EVT_SASH_DRAGGED_RANGE(win
, id1
, id2
, func
):
1481 win
.Connect(id1
, id2
, wxEVT_SASH_DRAGGED
, func
)
1483 def EVT_QUERY_LAYOUT_INFO(win
, func
):
1484 win
.Connect(-1, -1, wxEVT_EVT_QUERY_LAYOUT_INFO
, func
)
1486 def EVT_CALCULATE_LAYOUT(win
, func
):
1487 win
.Connect(-1, -1, wxEVT_EVT_CALCULATE_LAYOUT
, func
)
1491 def EVT_SPLITTER_SASH_POS_CHANGING(win
, id, func
):
1492 win
.Connect(id, -1, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, func
)
1494 def EVT_SPLITTER_SASH_POS_CHANGED(win
, id, func
):
1495 win
.Connect(id, -1, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, func
)
1497 def EVT_SPLITTER_UNSPLIT(win
, id, func
):
1498 win
.Connect(id, -1, wxEVT_COMMAND_SPLITTER_UNSPLIT
, func
)
1500 def EVT_SPLITTER_DOUBLECLICKED(win
, id, func
):
1501 win
.Connect(id, -1, wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, func
)
1505 def EVT_TIMER(win
, id, func
):
1506 win
.Connect(id, -1, wxEVT_TIMER
, func
)
1509 def EVT_END_PROCESS(eh
, id, func
):
1510 eh
.Connect(id, -1, wxEVT_END_PROCESS
, func
)
1514 def EVT_JOY_DOWN(win
, func
):
1515 win
.Connect(-1, -1, wxEVT_JOY_BUTTON_DOWN
, func
)
1517 def EVT_JOY_UP(win
, func
):
1518 win
.Connect(-1, -1, wxEVT_JOY_BUTTON_UP
, func
)
1520 def EVT_JOY_MOVE(win
, func
):
1521 win
.Connect(-1, -1, wxEVT_JOY_MOVE
, func
)
1523 def EVT_JOY_ZMOVE(win
, func
):
1524 win
.Connect(-1, -1, wxEVT_JOY_ZMOVE
, func
)
1526 def EVT_JOYSTICK_EVENTS(win
, func
):
1527 win
.Connect(-1, -1, wxEVT_JOY_BUTTON_DOWN
, func
)
1528 win
.Connect(-1, -1, wxEVT_JOY_BUTTON_UP
, func
)
1529 win
.Connect(-1, -1, wxEVT_JOY_MOVE
, func
)
1530 win
.Connect(-1, -1, wxEVT_JOY_ZMOVE
, func
)
1533 def EVT_TOGGLEBUTTON(win
, id, func
):
1534 win
.Connect(id, -1, wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, func
)
1538 def EVT_CONTEXT_MENU(win
, func
):
1539 win
.Connect(-1, -1, wxEVT_CONTEXT_MENU
, func
)
1542 #----------------------------------------------------------------------
1544 class wxTimer(wxPyTimer
):
1545 def __init__(self
, evtHandler
= None, id = -1):
1546 if evtHandler
is None:
1547 wxPyTimer
.__init
__(self
, self
.Notify
) # derived class must provide
1548 # Notify(self) method.
1550 wxPyTimer
.__init
__(self
, None)
1551 self
.SetOwner(evtHandler
, id)
1553 #----------------------------------------------------------------------
1557 wxNamedColor
= wxNamedColour
1559 wxScrollbar
= wxScrollBar
1560 wxPoint2D
= wxPoint2DDouble
1562 wxPyAssertionError
= wxc
.wxPyAssertionError
1565 # backwards compatibility
1566 wxNoRefBitmap
= wxBitmap
1567 wxPyDefaultPosition
= wxDefaultPosition
1568 wxPyDefaultSize
= wxDefaultSize
1570 wxSystemSettings_GetSystemColour
= wxSystemSettings_GetColour
1571 wxSystemSettings_GetSystemFont
= wxSystemSettings_GetFont
1572 wxSystemSettings_GetSystemMetric
= wxSystemSettings_GetMetric
1575 # workarounds for bad wxRTTI names
1576 __wxPyPtrTypeMap
['wxGauge95'] = 'wxGauge'
1582 warnings
.warn("Use wxNewId instead", DeprecationWarning, 2)
1587 warnings
.warn("Use wxRegisterId instead", DeprecationWarning, 2)
1588 return wxRegisterId(ID
)
1592 # Use Python's bool constants if available, make aliases if not
1599 # Backwards compaatible
1601 FALSE
= false
= False
1604 #----------------------------------------------------------------------
1605 # wxGTK sets the locale when initialized. Doing this at the Python
1606 # level should set it up to match what GTK is doing at the C level.
1607 if wxPlatform
== "__WXGTK__":
1610 locale
.setlocale(locale
.LC_ALL
, "")
1614 if wxPlatform
== "__WXMSW__":
1616 localedir
= os
.path
.join(os
.path
.split(__file__
)[0], "locale")
1617 wxLocale_AddCatalogLookupPathPrefix(localedir
)
1620 #----------------------------------------------------------------------
1621 # wxWindows version numbers. wxPython version is in __version__.
1623 wxMAJOR_VERSION
= wxc
.wxMAJOR_VERSION
1624 wxMINOR_VERSION
= wxc
.wxMINOR_VERSION
1625 wxRELEASE_NUMBER
= wxc
.wxRELEASE_NUMBER
1626 wxVERSION_STRING
= wxc
.wxVERSION_STRING
1627 wxVERSION_NUMBER
= wxc
.wxVERSION_NUMBER
1629 wxVERSION
= (wxMAJOR_VERSION
, wxMINOR_VERSION
, wxRELEASE_NUMBER
)
1632 #----------------------------------------------------------------------
1633 # This helper function will take a wxPython object and convert it to
1634 # another wxPython object type. This will not be able to create objects
1635 # that are derived from wxPython classes by the user, only those that are
1636 # actually part of wxPython and directly corespond to C++ objects.
1638 # This is useful in situations where some method returns a generic
1639 # type such as wxWindow, but you know that it is actually some
1640 # derived type such as a wxTextCtrl. You can't call wxTextCtrl specific
1641 # methods on a wxWindow object, but you can use this function to
1642 # create a wxTextCtrl object that will pass the same pointer to
1643 # the C++ code. You use it like this:
1645 # textCtrl = wxPyTypeCast(window, "wxTextCtrl")
1648 # WARNING: Using this function to type cast objects into types that
1649 # they are not is not recommended and is likely to cause your
1650 # program to crash... Hard.
1653 def wxPyTypeCast(obj
, typeStr
):
1656 theClass
= globals()[typeStr
+"Ptr"]
1657 typeStr
= __wxPyPtrTypeMap
.get(typeStr
, typeStr
)
1658 if hasattr(obj
, "this"):
1659 # if already the right type then just return it
1660 if isinstance(obj
, theClass
) or obj
.__class
__ is theClass
:
1662 newPtr
= ptrcast(obj
.this
, typeStr
+"_p")
1664 newPtr
= ptrcast(obj
, typeStr
+"_p")
1665 theObj
= theClass(newPtr
)
1666 if hasattr(obj
, "this"):
1667 theObj
.thisown
= obj
.thisown
1670 #----------------------------------------------------------------------------
1671 # An isinstance for Pythons < 2.2 that can check a sequence of class objects
1672 # like the one in 2.2 can.
1674 def wxPy_isinstance(obj
, klasses
):
1676 if sys
.version
[:3] < "2.2" and type(klasses
) in [types
.TupleType
, types
.ListType
]:
1677 for klass
in klasses
:
1678 if isinstance(obj
, klass
): return True
1681 return isinstance(obj
, klasses
)
1683 #----------------------------------------------------------------------------
1684 _wxCallAfterId
= None
1686 def wxCallAfter(callable, *args
, **kw
):
1688 Call the specified function after the current and pending event
1689 handlers have been completed. This is also good for making GUI
1690 method calls from non-GUI threads.
1693 assert app
, 'No wxApp created yet'
1695 global _wxCallAfterId
1696 if _wxCallAfterId
is None:
1697 _wxCallAfterId
= wxNewId()
1698 app
.Connect(-1, -1, _wxCallAfterId
,
1699 lambda event
: apply(event
.callable, event
.args
, event
.kw
) )
1701 evt
.SetEventType(_wxCallAfterId
)
1702 evt
.callable = callable
1705 wxPostEvent(app
, evt
)
1708 wxRunLater
= wxCallAfter
1710 #----------------------------------------------------------------------
1712 class wxPyDeadObjectError(AttributeError):
1715 class _wxPyDeadObject
:
1717 Instances of wx objects that are OOR capable will have their __class__
1718 changed to this class when the C++ object is deleted. This should help
1719 prevent crashes due to referencing a bogus C++ pointer.
1721 reprStr
= "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)"
1722 attrStr
= "The C++ part of the %s object has been deleted, attribute access no longer allowed."
1724 def __repr__( self
):
1725 if not hasattr(self
, "_name"):
1726 self
._name
= "[unknown]"
1727 return self
.reprStr
% self
._name
1729 def __getattr__( self
, *args
):
1730 if not hasattr(self
, "_name"):
1731 self
._name
= "[unknown]"
1732 raise wxPyDeadObjectError( self
.attrStr
% self
._name
)
1734 def __nonzero__(self
):
1738 #----------------------------------------------------------------------
1739 #----------------------------------------------------------------------
1741 class wxPyOnDemandOutputWindow
:
1742 def __init__(self
, title
= "wxPython: stdout/stderr"):
1747 def SetParent(self
, parent
):
1748 self
.parent
= parent
1750 def OnCloseWindow(self
, event
):
1751 if self
.frame
!= None:
1752 self
.frame
.Destroy()
1756 # These methods provide the file-like output behaviour.
1757 def write(self
, str):
1758 if not wxThread_IsMain():
1759 # Aquire the GUI mutex before making GUI calls. Mutex is released
1760 # when locker is deleted at the end of this function.
1761 locker
= wxMutexGuiLocker()
1764 self
.frame
= wxFrame(self
.parent
, -1, self
.title
,
1765 style
=wxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON_RESIZE
)
1766 self
.text
= wxTextCtrl(self
.frame
, -1, "",
1767 style
= wxTE_MULTILINE|wxTE_READONLY
)
1768 self
.frame
.SetSize(wxSize(450, 300))
1769 self
.frame
.Show(True)
1770 EVT_CLOSE(self
.frame
, self
.OnCloseWindow
)
1771 self
.text
.AppendText(str)
1774 if self
.frame
!= None:
1775 if not wxThread_IsMain():
1776 locker
= wxMutexGuiLocker()
1780 _defRedirect
= (wxPlatform
== '__WXMSW__' or wxPlatform
== '__WXMAC__')
1782 #----------------------------------------------------------------------
1783 # The main application class. Derive from this and implement an OnInit
1784 # method that creates a frame and then calls self.SetTopWindow(frame)
1786 class wxApp(wxPyApp
):
1787 error
= 'wxApp.error'
1788 outputWindowClass
= wxPyOnDemandOutputWindow
1790 def __init__(self
, redirect
=_defRedirect
, filename
=None, useBestVisual
=False):
1791 wxPyApp
.__init
__(self
)
1792 self
.stdioWin
= None
1793 self
.saveStdio
= (sys
.stdout
, sys
.stderr
)
1795 # This has to be done before OnInit
1796 self
.SetUseBestVisual(useBestVisual
)
1799 self
.RedirectStdio(filename
)
1801 # this initializes wxWindows and then calls our OnInit
1802 _wxStart(self
.OnInit
)
1812 def SetTopWindow(self
, frame
):
1814 self
.stdioWin
.SetParent(frame
)
1815 wxPyApp
.SetTopWindow(self
, frame
)
1819 wxPyApp
.MainLoop(self
)
1823 def RedirectStdio(self
, filename
):
1825 sys
.stdout
= sys
.stderr
= open(filename
, 'a')
1827 self
.stdioWin
= self
.outputWindowClass()
1828 sys
.stdout
= sys
.stderr
= self
.stdioWin
1831 def RestoreStdio(self
):
1832 sys
.stdout
, sys
.stderr
= self
.saveStdio
1835 # change from wxPyApp_ to wxApp_
1836 wxApp_GetMacDefaultEncodingIsPC
= wxc
.wxPyApp_GetMacDefaultEncodingIsPC
1837 wxApp_GetMacSupportPCMenuShortcuts
= wxc
.wxPyApp_GetMacSupportPCMenuShortcuts
1838 wxApp_GetMacAboutMenuItemId
= wxc
.wxPyApp_GetMacAboutMenuItemId
1839 wxApp_GetMacPreferencesMenuItemId
= wxc
.wxPyApp_GetMacPreferencesMenuItemId
1840 wxApp_GetMacExitMenuItemId
= wxc
.wxPyApp_GetMacExitMenuItemId
1841 wxApp_GetMacHelpMenuTitleName
= wxc
.wxPyApp_GetMacHelpMenuTitleName
1842 wxApp_SetMacDefaultEncodingIsPC
= wxc
.wxPyApp_SetMacDefaultEncodingIsPC
1843 wxApp_SetMacSupportPCMenuShortcuts
= wxc
.wxPyApp_SetMacSupportPCMenuShortcuts
1844 wxApp_SetMacAboutMenuItemId
= wxc
.wxPyApp_SetMacAboutMenuItemId
1845 wxApp_SetMacPreferencesMenuItemId
= wxc
.wxPyApp_SetMacPreferencesMenuItemId
1846 wxApp_SetMacExitMenuItemId
= wxc
.wxPyApp_SetMacExitMenuItemId
1847 wxApp_SetMacHelpMenuTitleName
= wxc
.wxPyApp_SetMacHelpMenuTitleName
1850 #----------------------------------------------------------------------------
1852 class wxPySimpleApp(wxApp
):
1853 def __init__(self
, flag
=0):
1854 wxApp
.__init
__(self
, flag
)
1856 wxInitAllImageHandlers()
1860 class wxPyWidgetTester(wxApp
):
1861 def __init__(self
, size
= (250, 100)):
1863 wxApp
.__init
__(self
, 0)
1866 self
.frame
= wxFrame(None, -1, "Widget Tester", pos
=(0,0), size
=self
.size
)
1867 self
.SetTopWindow(self
.frame
)
1870 def SetWidget(self
, widgetClass
, *args
):
1871 w
= apply(widgetClass
, (self
.frame
,) + args
)
1872 self
.frame
.Show(True)
1874 #----------------------------------------------------------------------------
1875 # DO NOT hold any other references to this object. This is how we
1876 # know when to cleanup system resources that wxWin is holding. When
1877 # the sys module is unloaded, the refcount on sys.__wxPythonCleanup
1878 # goes to zero and it calls the wxApp_CleanUp function.
1880 class __wxPyCleanup
:
1882 self
.cleanup
= wxc
.wxApp_CleanUp
1886 sys
.__wxPythonCleanup
= __wxPyCleanup()
1888 ## # another possible solution, but it gets called too early...
1889 ## if sys.version[0] == '2':
1891 ## atexit.register(wxc.wxApp_CleanUp)
1893 ## sys.exitfunc = wxc.wxApp_CleanUp
1896 #----------------------------------------------------------------------------
1897 #----------------------------------------------------------------------------