1 # This file was created automatically by SWIG.
16 from stattool
import *
18 from controls
import *
20 from controls2
import *
22 from windows2
import *
26 from windows3
import *
29 class wxPyAppPtr(wxEvtHandlerPtr
):
30 def __init__(self
,this
):
34 val
= wxc
.wxPyApp_GetAppName(self
.this
)
37 val
= wxc
.wxPyApp_GetAuto3D(self
.this
)
39 def GetClassName(self
):
40 val
= wxc
.wxPyApp_GetClassName(self
.this
)
42 def GetExitOnFrameDelete(self
):
43 val
= wxc
.wxPyApp_GetExitOnFrameDelete(self
.this
)
45 def GetPrintMode(self
):
46 val
= wxc
.wxPyApp_GetPrintMode(self
.this
)
48 def GetTopWindow(self
):
49 val
= wxc
.wxPyApp_GetTopWindow(self
.this
)
50 val
= wxWindowPtr(val
)
52 def GetVendorName(self
):
53 val
= wxc
.wxPyApp_GetVendorName(self
.this
)
56 val
= wxc
.wxPyApp_Dispatch(self
.this
)
58 def ExitMainLoop(self
):
59 val
= wxc
.wxPyApp_ExitMainLoop(self
.this
)
61 def Initialized(self
):
62 val
= wxc
.wxPyApp_Initialized(self
.this
)
65 val
= wxc
.wxPyApp_MainLoop(self
.this
)
68 val
= wxc
.wxPyApp_Pending(self
.this
)
70 def SetAppName(self
,arg0
):
71 val
= wxc
.wxPyApp_SetAppName(self
.this
,arg0
)
73 def SetAuto3D(self
,arg0
):
74 val
= wxc
.wxPyApp_SetAuto3D(self
.this
,arg0
)
76 def SetClassName(self
,arg0
):
77 val
= wxc
.wxPyApp_SetClassName(self
.this
,arg0
)
79 def SetExitOnFrameDelete(self
,arg0
):
80 val
= wxc
.wxPyApp_SetExitOnFrameDelete(self
.this
,arg0
)
82 def SetPrintMode(self
,arg0
):
83 val
= wxc
.wxPyApp_SetPrintMode(self
.this
,arg0
)
85 def SetTopWindow(self
,arg0
):
86 val
= wxc
.wxPyApp_SetTopWindow(self
.this
,arg0
.this
)
88 def SetVendorName(self
,arg0
):
89 val
= wxc
.wxPyApp_SetVendorName(self
.this
,arg0
)
91 def AfterMainLoop(self
):
92 val
= wxc
.wxPyApp_AfterMainLoop(self
.this
)
95 return "<C wxPyApp instance>"
96 class wxPyApp(wxPyAppPtr
):
98 self
.this
= wxc
.new_wxPyApp()
106 #-------------- FUNCTION WRAPPERS ------------------
108 _wxStart
= wxc
._wxStart
110 _wxSetDictionary
= wxc
._wxSetDictionary
114 #-------------- VARIABLE WRAPPERS ------------------
116 wxMAJOR_VERSION
= wxc
.wxMAJOR_VERSION
117 wxMINOR_VERSION
= wxc
.wxMINOR_VERSION
118 wxRELEASE_NUMBER
= wxc
.wxRELEASE_NUMBER
119 wxNOT_FOUND
= wxc
.wxNOT_FOUND
120 wxVSCROLL
= wxc
.wxVSCROLL
121 wxHSCROLL
= wxc
.wxHSCROLL
122 wxCAPTION
= wxc
.wxCAPTION
123 wxDOUBLE_BORDER
= wxc
.wxDOUBLE_BORDER
124 wxSUNKEN_BORDER
= wxc
.wxSUNKEN_BORDER
125 wxRAISED_BORDER
= wxc
.wxRAISED_BORDER
126 wxBORDER
= wxc
.wxBORDER
127 wxSIMPLE_BORDER
= wxc
.wxSIMPLE_BORDER
128 wxSTATIC_BORDER
= wxc
.wxSTATIC_BORDER
129 wxTRANSPARENT_WINDOW
= wxc
.wxTRANSPARENT_WINDOW
130 wxNO_BORDER
= wxc
.wxNO_BORDER
131 wxUSER_COLOURS
= wxc
.wxUSER_COLOURS
132 wxNO_3D
= wxc
.wxNO_3D
133 wxTAB_TRAVERSAL
= wxc
.wxTAB_TRAVERSAL
134 wxHORIZONTAL
= wxc
.wxHORIZONTAL
135 wxVERTICAL
= wxc
.wxVERTICAL
137 wxCENTER_FRAME
= wxc
.wxCENTER_FRAME
138 wxSTAY_ON_TOP
= wxc
.wxSTAY_ON_TOP
139 wxICONIZE
= wxc
.wxICONIZE
140 wxMINIMIZE
= wxc
.wxMINIMIZE
141 wxMAXIMIZE
= wxc
.wxMAXIMIZE
142 wxTHICK_FRAME
= wxc
.wxTHICK_FRAME
143 wxSYSTEM_MENU
= wxc
.wxSYSTEM_MENU
144 wxMINIMIZE_BOX
= wxc
.wxMINIMIZE_BOX
145 wxMAXIMIZE_BOX
= wxc
.wxMAXIMIZE_BOX
146 wxTINY_CAPTION_HORIZ
= wxc
.wxTINY_CAPTION_HORIZ
147 wxTINY_CAPTION_VERT
= wxc
.wxTINY_CAPTION_VERT
148 wxRESIZE_BOX
= wxc
.wxRESIZE_BOX
149 wxRESIZE_BORDER
= wxc
.wxRESIZE_BORDER
150 wxDIALOG_MODAL
= wxc
.wxDIALOG_MODAL
151 wxDIALOG_MODELESS
= wxc
.wxDIALOG_MODELESS
152 wxDEFAULT_FRAME_STYLE
= wxc
.wxDEFAULT_FRAME_STYLE
153 wxDEFAULT_DIALOG_STYLE
= wxc
.wxDEFAULT_DIALOG_STYLE
154 wxFRAME_TOOL_WINDOW
= wxc
.wxFRAME_TOOL_WINDOW
155 wxCLIP_CHILDREN
= wxc
.wxCLIP_CHILDREN
156 wxRETAINED
= wxc
.wxRETAINED
157 wxBACKINGSTORE
= wxc
.wxBACKINGSTORE
158 wxTB_3DBUTTONS
= wxc
.wxTB_3DBUTTONS
159 wxTB_HORIZONTAL
= wxc
.wxTB_HORIZONTAL
160 wxTB_VERTICAL
= wxc
.wxTB_VERTICAL
161 wxTB_FLAT
= wxc
.wxTB_FLAT
162 wxCOLOURED
= wxc
.wxCOLOURED
163 wxFIXED_LENGTH
= wxc
.wxFIXED_LENGTH
164 wxALIGN_LEFT
= wxc
.wxALIGN_LEFT
165 wxALIGN_CENTER
= wxc
.wxALIGN_CENTER
166 wxALIGN_CENTRE
= wxc
.wxALIGN_CENTRE
167 wxALIGN_RIGHT
= wxc
.wxALIGN_RIGHT
168 wxLB_NEEDED_SB
= wxc
.wxLB_NEEDED_SB
169 wxLB_ALWAYS_SB
= wxc
.wxLB_ALWAYS_SB
170 wxLB_SORT
= wxc
.wxLB_SORT
171 wxLB_SINGLE
= wxc
.wxLB_SINGLE
172 wxLB_MULTIPLE
= wxc
.wxLB_MULTIPLE
173 wxLB_EXTENDED
= wxc
.wxLB_EXTENDED
174 wxLB_OWNERDRAW
= wxc
.wxLB_OWNERDRAW
175 wxLB_HSCROLL
= wxc
.wxLB_HSCROLL
176 wxPROCESS_ENTER
= wxc
.wxPROCESS_ENTER
177 wxPASSWORD
= wxc
.wxPASSWORD
178 wxTE_PROCESS_ENTER
= wxc
.wxTE_PROCESS_ENTER
179 wxTE_PASSWORD
= wxc
.wxTE_PASSWORD
180 wxTE_READONLY
= wxc
.wxTE_READONLY
181 wxTE_MULTILINE
= wxc
.wxTE_MULTILINE
182 wxCB_SIMPLE
= wxc
.wxCB_SIMPLE
183 wxCB_DROPDOWN
= wxc
.wxCB_DROPDOWN
184 wxCB_SORT
= wxc
.wxCB_SORT
185 wxCB_READONLY
= wxc
.wxCB_READONLY
186 wxRA_HORIZONTAL
= wxc
.wxRA_HORIZONTAL
187 wxRA_VERTICAL
= wxc
.wxRA_VERTICAL
188 wxRA_SPECIFY_ROWS
= wxc
.wxRA_SPECIFY_ROWS
189 wxRA_SPECIFY_COLS
= wxc
.wxRA_SPECIFY_COLS
190 wxRB_GROUP
= wxc
.wxRB_GROUP
191 wxGA_PROGRESSBAR
= wxc
.wxGA_PROGRESSBAR
192 wxGA_HORIZONTAL
= wxc
.wxGA_HORIZONTAL
193 wxGA_VERTICAL
= wxc
.wxGA_VERTICAL
194 wxSL_HORIZONTAL
= wxc
.wxSL_HORIZONTAL
195 wxSL_VERTICAL
= wxc
.wxSL_VERTICAL
196 wxSL_AUTOTICKS
= wxc
.wxSL_AUTOTICKS
197 wxSL_LABELS
= wxc
.wxSL_LABELS
198 wxSL_LEFT
= wxc
.wxSL_LEFT
199 wxSL_TOP
= wxc
.wxSL_TOP
200 wxSL_RIGHT
= wxc
.wxSL_RIGHT
201 wxSL_BOTTOM
= wxc
.wxSL_BOTTOM
202 wxSL_BOTH
= wxc
.wxSL_BOTH
203 wxSL_SELRANGE
= wxc
.wxSL_SELRANGE
204 wxSB_HORIZONTAL
= wxc
.wxSB_HORIZONTAL
205 wxSB_VERTICAL
= wxc
.wxSB_VERTICAL
206 wxST_SIZEGRIP
= wxc
.wxST_SIZEGRIP
207 wxBU_AUTODRAW
= wxc
.wxBU_AUTODRAW
208 wxBU_NOAUTODRAW
= wxc
.wxBU_NOAUTODRAW
209 wxTR_HAS_BUTTONS
= wxc
.wxTR_HAS_BUTTONS
210 wxTR_EDIT_LABELS
= wxc
.wxTR_EDIT_LABELS
211 wxTR_LINES_AT_ROOT
= wxc
.wxTR_LINES_AT_ROOT
212 wxLC_ICON
= wxc
.wxLC_ICON
213 wxLC_SMALL_ICON
= wxc
.wxLC_SMALL_ICON
214 wxLC_LIST
= wxc
.wxLC_LIST
215 wxLC_REPORT
= wxc
.wxLC_REPORT
216 wxLC_ALIGN_TOP
= wxc
.wxLC_ALIGN_TOP
217 wxLC_ALIGN_LEFT
= wxc
.wxLC_ALIGN_LEFT
218 wxLC_AUTOARRANGE
= wxc
.wxLC_AUTOARRANGE
219 wxLC_USER_TEXT
= wxc
.wxLC_USER_TEXT
220 wxLC_EDIT_LABELS
= wxc
.wxLC_EDIT_LABELS
221 wxLC_NO_HEADER
= wxc
.wxLC_NO_HEADER
222 wxLC_NO_SORT_HEADER
= wxc
.wxLC_NO_SORT_HEADER
223 wxLC_SINGLE_SEL
= wxc
.wxLC_SINGLE_SEL
224 wxLC_SORT_ASCENDING
= wxc
.wxLC_SORT_ASCENDING
225 wxLC_SORT_DESCENDING
= wxc
.wxLC_SORT_DESCENDING
226 wxLC_MASK_TYPE
= wxc
.wxLC_MASK_TYPE
227 wxLC_MASK_ALIGN
= wxc
.wxLC_MASK_ALIGN
228 wxLC_MASK_SORT
= wxc
.wxLC_MASK_SORT
229 wxSP_VERTICAL
= wxc
.wxSP_VERTICAL
230 wxSP_HORIZONTAL
= wxc
.wxSP_HORIZONTAL
231 wxSP_ARROW_KEYS
= wxc
.wxSP_ARROW_KEYS
232 wxSP_WRAP
= wxc
.wxSP_WRAP
233 wxSP_NOBORDER
= wxc
.wxSP_NOBORDER
234 wxSP_3D
= wxc
.wxSP_3D
235 wxSP_BORDER
= wxc
.wxSP_BORDER
236 wxFLOOD_SURFACE
= wxc
.wxFLOOD_SURFACE
237 wxFLOOD_BORDER
= wxc
.wxFLOOD_BORDER
238 wxODDEVEN_RULE
= wxc
.wxODDEVEN_RULE
239 wxWINDING_RULE
= wxc
.wxWINDING_RULE
240 wxTOOL_TOP
= wxc
.wxTOOL_TOP
241 wxTOOL_BOTTOM
= wxc
.wxTOOL_BOTTOM
242 wxTOOL_LEFT
= wxc
.wxTOOL_LEFT
243 wxTOOL_RIGHT
= wxc
.wxTOOL_RIGHT
245 wxYES_NO
= wxc
.wxYES_NO
246 wxCANCEL
= wxc
.wxCANCEL
249 wxICON_EXCLAMATION
= wxc
.wxICON_EXCLAMATION
250 wxICON_HAND
= wxc
.wxICON_HAND
251 wxICON_QUESTION
= wxc
.wxICON_QUESTION
252 wxICON_INFORMATION
= wxc
.wxICON_INFORMATION
253 wxICON_STOP
= wxc
.wxICON_STOP
254 wxICON_ASTERISK
= wxc
.wxICON_ASTERISK
255 wxICON_MASK
= wxc
.wxICON_MASK
256 wxCENTRE
= wxc
.wxCENTRE
257 wxCENTER
= wxc
.wxCENTER
258 wxSIZE_AUTO_WIDTH
= wxc
.wxSIZE_AUTO_WIDTH
259 wxSIZE_AUTO_HEIGHT
= wxc
.wxSIZE_AUTO_HEIGHT
260 wxSIZE_AUTO
= wxc
.wxSIZE_AUTO
261 wxSIZE_USE_EXISTING
= wxc
.wxSIZE_USE_EXISTING
262 wxSIZE_ALLOW_MINUS_ONE
= wxc
.wxSIZE_ALLOW_MINUS_ONE
263 wxDF_TEXT
= wxc
.wxDF_TEXT
264 wxDF_BITMAP
= wxc
.wxDF_BITMAP
265 wxDF_METAFILE
= wxc
.wxDF_METAFILE
266 wxDF_DIB
= wxc
.wxDF_DIB
267 wxDF_OEMTEXT
= wxc
.wxDF_OEMTEXT
268 wxDF_FILENAME
= wxc
.wxDF_FILENAME
269 wxPORTRAIT
= wxc
.wxPORTRAIT
270 wxLANDSCAPE
= wxc
.wxLANDSCAPE
271 wxID_OPEN
= wxc
.wxID_OPEN
272 wxID_CLOSE
= wxc
.wxID_CLOSE
273 wxID_NEW
= wxc
.wxID_NEW
274 wxID_SAVE
= wxc
.wxID_SAVE
275 wxID_SAVEAS
= wxc
.wxID_SAVEAS
276 wxID_REVERT
= wxc
.wxID_REVERT
277 wxID_EXIT
= wxc
.wxID_EXIT
278 wxID_UNDO
= wxc
.wxID_UNDO
279 wxID_REDO
= wxc
.wxID_REDO
280 wxID_HELP
= wxc
.wxID_HELP
281 wxID_PRINT
= wxc
.wxID_PRINT
282 wxID_PRINT_SETUP
= wxc
.wxID_PRINT_SETUP
283 wxID_PREVIEW
= wxc
.wxID_PREVIEW
284 wxID_ABOUT
= wxc
.wxID_ABOUT
285 wxID_HELP_CONTENTS
= wxc
.wxID_HELP_CONTENTS
286 wxID_HELP_COMMANDS
= wxc
.wxID_HELP_COMMANDS
287 wxID_HELP_PROCEDURES
= wxc
.wxID_HELP_PROCEDURES
288 wxID_HELP_CONTEXT
= wxc
.wxID_HELP_CONTEXT
289 wxID_CUT
= wxc
.wxID_CUT
290 wxID_COPY
= wxc
.wxID_COPY
291 wxID_PASTE
= wxc
.wxID_PASTE
292 wxID_CLEAR
= wxc
.wxID_CLEAR
293 wxID_FIND
= wxc
.wxID_FIND
294 wxID_FILE1
= wxc
.wxID_FILE1
295 wxID_FILE2
= wxc
.wxID_FILE2
296 wxID_FILE3
= wxc
.wxID_FILE3
297 wxID_FILE4
= wxc
.wxID_FILE4
298 wxID_FILE5
= wxc
.wxID_FILE5
299 wxID_FILE6
= wxc
.wxID_FILE6
300 wxID_FILE7
= wxc
.wxID_FILE7
301 wxID_FILE8
= wxc
.wxID_FILE8
302 wxID_FILE9
= wxc
.wxID_FILE9
303 wxID_OK
= wxc
.wxID_OK
304 wxID_CANCEL
= wxc
.wxID_CANCEL
305 wxID_APPLY
= wxc
.wxID_APPLY
306 wxID_YES
= wxc
.wxID_YES
307 wxID_NO
= wxc
.wxID_NO
308 wxID_STATIC
= wxc
.wxID_STATIC
309 wxBITMAP_TYPE_BMP
= wxc
.wxBITMAP_TYPE_BMP
310 wxBITMAP_TYPE_BMP_RESOURCE
= wxc
.wxBITMAP_TYPE_BMP_RESOURCE
311 wxBITMAP_TYPE_ICO
= wxc
.wxBITMAP_TYPE_ICO
312 wxBITMAP_TYPE_ICO_RESOURCE
= wxc
.wxBITMAP_TYPE_ICO_RESOURCE
313 wxBITMAP_TYPE_CUR
= wxc
.wxBITMAP_TYPE_CUR
314 wxBITMAP_TYPE_CUR_RESOURCE
= wxc
.wxBITMAP_TYPE_CUR_RESOURCE
315 wxBITMAP_TYPE_XBM
= wxc
.wxBITMAP_TYPE_XBM
316 wxBITMAP_TYPE_XBM_DATA
= wxc
.wxBITMAP_TYPE_XBM_DATA
317 wxBITMAP_TYPE_XPM
= wxc
.wxBITMAP_TYPE_XPM
318 wxBITMAP_TYPE_XPM_DATA
= wxc
.wxBITMAP_TYPE_XPM_DATA
319 wxBITMAP_TYPE_TIF
= wxc
.wxBITMAP_TYPE_TIF
320 wxBITMAP_TYPE_TIF_RESOURCE
= wxc
.wxBITMAP_TYPE_TIF_RESOURCE
321 wxBITMAP_TYPE_GIF
= wxc
.wxBITMAP_TYPE_GIF
322 wxBITMAP_TYPE_GIF_RESOURCE
= wxc
.wxBITMAP_TYPE_GIF_RESOURCE
323 wxBITMAP_TYPE_PNG
= wxc
.wxBITMAP_TYPE_PNG
324 wxBITMAP_TYPE_PNG_RESOURCE
= wxc
.wxBITMAP_TYPE_PNG_RESOURCE
325 wxBITMAP_TYPE_ANY
= wxc
.wxBITMAP_TYPE_ANY
326 wxBITMAP_TYPE_RESOURCE
= wxc
.wxBITMAP_TYPE_RESOURCE
327 wxBITMAP_TYPE_JPEG
= wxc
.wxBITMAP_TYPE_JPEG
330 wxHIDE_READONLY
= wxc
.wxHIDE_READONLY
331 wxOVERWRITE_PROMPT
= wxc
.wxOVERWRITE_PROMPT
332 wxACCEL_ALT
= wxc
.wxACCEL_ALT
333 wxACCEL_CTRL
= wxc
.wxACCEL_CTRL
334 wxACCEL_SHIFT
= wxc
.wxACCEL_SHIFT
335 wxDEFAULT
= wxc
.wxDEFAULT
336 wxDECORATIVE
= wxc
.wxDECORATIVE
337 wxROMAN
= wxc
.wxROMAN
338 wxSCRIPT
= wxc
.wxSCRIPT
339 wxSWISS
= wxc
.wxSWISS
340 wxMODERN
= wxc
.wxMODERN
341 wxTELETYPE
= wxc
.wxTELETYPE
342 wxVARIABLE
= wxc
.wxVARIABLE
343 wxFIXED
= wxc
.wxFIXED
344 wxNORMAL
= wxc
.wxNORMAL
345 wxLIGHT
= wxc
.wxLIGHT
347 wxITALIC
= wxc
.wxITALIC
348 wxSLANT
= wxc
.wxSLANT
349 wxSOLID
= wxc
.wxSOLID
351 wxLONG_DASH
= wxc
.wxLONG_DASH
352 wxSHORT_DASH
= wxc
.wxSHORT_DASH
353 wxDOT_DASH
= wxc
.wxDOT_DASH
354 wxUSER_DASH
= wxc
.wxUSER_DASH
355 wxTRANSPARENT
= wxc
.wxTRANSPARENT
356 wxSTIPPLE
= wxc
.wxSTIPPLE
357 wxBDIAGONAL_HATCH
= wxc
.wxBDIAGONAL_HATCH
358 wxCROSSDIAG_HATCH
= wxc
.wxCROSSDIAG_HATCH
359 wxFDIAGONAL_HATCH
= wxc
.wxFDIAGONAL_HATCH
360 wxCROSS_HATCH
= wxc
.wxCROSS_HATCH
361 wxHORIZONTAL_HATCH
= wxc
.wxHORIZONTAL_HATCH
362 wxVERTICAL_HATCH
= wxc
.wxVERTICAL_HATCH
363 wxJOIN_BEVEL
= wxc
.wxJOIN_BEVEL
364 wxJOIN_MITER
= wxc
.wxJOIN_MITER
365 wxJOIN_ROUND
= wxc
.wxJOIN_ROUND
366 wxCAP_ROUND
= wxc
.wxCAP_ROUND
367 wxCAP_PROJECTING
= wxc
.wxCAP_PROJECTING
368 wxCAP_BUTT
= wxc
.wxCAP_BUTT
369 wxCLEAR
= wxc
.wxCLEAR
371 wxINVERT
= wxc
.wxINVERT
372 wxOR_REVERSE
= wxc
.wxOR_REVERSE
373 wxAND_REVERSE
= wxc
.wxAND_REVERSE
376 wxAND_INVERT
= wxc
.wxAND_INVERT
377 wxNO_OP
= wxc
.wxNO_OP
379 wxEQUIV
= wxc
.wxEQUIV
380 wxSRC_INVERT
= wxc
.wxSRC_INVERT
381 wxOR_INVERT
= wxc
.wxOR_INVERT
385 wxSRC_OR
= wxc
.wxSRC_OR
386 wxSRC_AND
= wxc
.wxSRC_AND
387 WXK_BACK
= wxc
.WXK_BACK
388 WXK_TAB
= wxc
.WXK_TAB
389 WXK_RETURN
= wxc
.WXK_RETURN
390 WXK_ESCAPE
= wxc
.WXK_ESCAPE
391 WXK_SPACE
= wxc
.WXK_SPACE
392 WXK_DELETE
= wxc
.WXK_DELETE
393 WXK_START
= wxc
.WXK_START
394 WXK_LBUTTON
= wxc
.WXK_LBUTTON
395 WXK_RBUTTON
= wxc
.WXK_RBUTTON
396 WXK_CANCEL
= wxc
.WXK_CANCEL
397 WXK_MBUTTON
= wxc
.WXK_MBUTTON
398 WXK_CLEAR
= wxc
.WXK_CLEAR
399 WXK_SHIFT
= wxc
.WXK_SHIFT
400 WXK_CONTROL
= wxc
.WXK_CONTROL
401 WXK_MENU
= wxc
.WXK_MENU
402 WXK_PAUSE
= wxc
.WXK_PAUSE
403 WXK_CAPITAL
= wxc
.WXK_CAPITAL
404 WXK_PRIOR
= wxc
.WXK_PRIOR
405 WXK_NEXT
= wxc
.WXK_NEXT
406 WXK_END
= wxc
.WXK_END
407 WXK_HOME
= wxc
.WXK_HOME
408 WXK_LEFT
= wxc
.WXK_LEFT
410 WXK_RIGHT
= wxc
.WXK_RIGHT
411 WXK_DOWN
= wxc
.WXK_DOWN
412 WXK_SELECT
= wxc
.WXK_SELECT
413 WXK_PRINT
= wxc
.WXK_PRINT
414 WXK_EXECUTE
= wxc
.WXK_EXECUTE
415 WXK_SNAPSHOT
= wxc
.WXK_SNAPSHOT
416 WXK_INSERT
= wxc
.WXK_INSERT
417 WXK_HELP
= wxc
.WXK_HELP
418 WXK_NUMPAD0
= wxc
.WXK_NUMPAD0
419 WXK_NUMPAD1
= wxc
.WXK_NUMPAD1
420 WXK_NUMPAD2
= wxc
.WXK_NUMPAD2
421 WXK_NUMPAD3
= wxc
.WXK_NUMPAD3
422 WXK_NUMPAD4
= wxc
.WXK_NUMPAD4
423 WXK_NUMPAD5
= wxc
.WXK_NUMPAD5
424 WXK_NUMPAD6
= wxc
.WXK_NUMPAD6
425 WXK_NUMPAD7
= wxc
.WXK_NUMPAD7
426 WXK_NUMPAD8
= wxc
.WXK_NUMPAD8
427 WXK_NUMPAD9
= wxc
.WXK_NUMPAD9
428 WXK_MULTIPLY
= wxc
.WXK_MULTIPLY
429 WXK_ADD
= wxc
.WXK_ADD
430 WXK_SEPARATOR
= wxc
.WXK_SEPARATOR
431 WXK_SUBTRACT
= wxc
.WXK_SUBTRACT
432 WXK_DECIMAL
= wxc
.WXK_DECIMAL
433 WXK_DIVIDE
= wxc
.WXK_DIVIDE
443 WXK_F10
= wxc
.WXK_F10
444 WXK_F11
= wxc
.WXK_F11
445 WXK_F12
= wxc
.WXK_F12
446 WXK_F13
= wxc
.WXK_F13
447 WXK_F14
= wxc
.WXK_F14
448 WXK_F15
= wxc
.WXK_F15
449 WXK_F16
= wxc
.WXK_F16
450 WXK_F17
= wxc
.WXK_F17
451 WXK_F18
= wxc
.WXK_F18
452 WXK_F19
= wxc
.WXK_F19
453 WXK_F20
= wxc
.WXK_F20
454 WXK_F21
= wxc
.WXK_F21
455 WXK_F22
= wxc
.WXK_F22
456 WXK_F23
= wxc
.WXK_F23
457 WXK_F24
= wxc
.WXK_F24
458 WXK_NUMLOCK
= wxc
.WXK_NUMLOCK
459 WXK_SCROLL
= wxc
.WXK_SCROLL
460 WXK_PAGEUP
= wxc
.WXK_PAGEUP
461 WXK_PAGEDOWN
= wxc
.WXK_PAGEDOWN
462 wxCURSOR_NONE
= wxc
.wxCURSOR_NONE
463 wxCURSOR_ARROW
= wxc
.wxCURSOR_ARROW
464 wxCURSOR_BULLSEYE
= wxc
.wxCURSOR_BULLSEYE
465 wxCURSOR_CHAR
= wxc
.wxCURSOR_CHAR
466 wxCURSOR_CROSS
= wxc
.wxCURSOR_CROSS
467 wxCURSOR_HAND
= wxc
.wxCURSOR_HAND
468 wxCURSOR_IBEAM
= wxc
.wxCURSOR_IBEAM
469 wxCURSOR_LEFT_BUTTON
= wxc
.wxCURSOR_LEFT_BUTTON
470 wxCURSOR_MAGNIFIER
= wxc
.wxCURSOR_MAGNIFIER
471 wxCURSOR_MIDDLE_BUTTON
= wxc
.wxCURSOR_MIDDLE_BUTTON
472 wxCURSOR_NO_ENTRY
= wxc
.wxCURSOR_NO_ENTRY
473 wxCURSOR_PAINT_BRUSH
= wxc
.wxCURSOR_PAINT_BRUSH
474 wxCURSOR_PENCIL
= wxc
.wxCURSOR_PENCIL
475 wxCURSOR_POINT_LEFT
= wxc
.wxCURSOR_POINT_LEFT
476 wxCURSOR_POINT_RIGHT
= wxc
.wxCURSOR_POINT_RIGHT
477 wxCURSOR_QUESTION_ARROW
= wxc
.wxCURSOR_QUESTION_ARROW
478 wxCURSOR_RIGHT_BUTTON
= wxc
.wxCURSOR_RIGHT_BUTTON
479 wxCURSOR_SIZENESW
= wxc
.wxCURSOR_SIZENESW
480 wxCURSOR_SIZENS
= wxc
.wxCURSOR_SIZENS
481 wxCURSOR_SIZENWSE
= wxc
.wxCURSOR_SIZENWSE
482 wxCURSOR_SIZEWE
= wxc
.wxCURSOR_SIZEWE
483 wxCURSOR_SIZING
= wxc
.wxCURSOR_SIZING
484 wxCURSOR_SPRAYCAN
= wxc
.wxCURSOR_SPRAYCAN
485 wxCURSOR_WAIT
= wxc
.wxCURSOR_WAIT
486 wxCURSOR_WATCH
= wxc
.wxCURSOR_WATCH
487 wxCURSOR_BLANK
= wxc
.wxCURSOR_BLANK
488 wxPAPER_NONE
= wxc
.wxPAPER_NONE
489 wxPAPER_LETTER
= wxc
.wxPAPER_LETTER
490 wxPAPER_LEGAL
= wxc
.wxPAPER_LEGAL
491 wxPAPER_A4
= wxc
.wxPAPER_A4
492 wxPAPER_CSHEET
= wxc
.wxPAPER_CSHEET
493 wxPAPER_DSHEET
= wxc
.wxPAPER_DSHEET
494 wxPAPER_ESHEET
= wxc
.wxPAPER_ESHEET
495 wxPAPER_LETTERSMALL
= wxc
.wxPAPER_LETTERSMALL
496 wxPAPER_TABLOID
= wxc
.wxPAPER_TABLOID
497 wxPAPER_LEDGER
= wxc
.wxPAPER_LEDGER
498 wxPAPER_STATEMENT
= wxc
.wxPAPER_STATEMENT
499 wxPAPER_EXECUTIVE
= wxc
.wxPAPER_EXECUTIVE
500 wxPAPER_A3
= wxc
.wxPAPER_A3
501 wxPAPER_A4SMALL
= wxc
.wxPAPER_A4SMALL
502 wxPAPER_A5
= wxc
.wxPAPER_A5
503 wxPAPER_B4
= wxc
.wxPAPER_B4
504 wxPAPER_B5
= wxc
.wxPAPER_B5
505 wxPAPER_FOLIO
= wxc
.wxPAPER_FOLIO
506 wxPAPER_QUARTO
= wxc
.wxPAPER_QUARTO
507 wxPAPER_10X14
= wxc
.wxPAPER_10X14
508 wxPAPER_11X17
= wxc
.wxPAPER_11X17
509 wxPAPER_NOTE
= wxc
.wxPAPER_NOTE
510 wxPAPER_ENV_9
= wxc
.wxPAPER_ENV_9
511 wxPAPER_ENV_10
= wxc
.wxPAPER_ENV_10
512 wxPAPER_ENV_11
= wxc
.wxPAPER_ENV_11
513 wxPAPER_ENV_12
= wxc
.wxPAPER_ENV_12
514 wxPAPER_ENV_14
= wxc
.wxPAPER_ENV_14
515 wxPAPER_ENV_DL
= wxc
.wxPAPER_ENV_DL
516 wxPAPER_ENV_C5
= wxc
.wxPAPER_ENV_C5
517 wxPAPER_ENV_C3
= wxc
.wxPAPER_ENV_C3
518 wxPAPER_ENV_C4
= wxc
.wxPAPER_ENV_C4
519 wxPAPER_ENV_C6
= wxc
.wxPAPER_ENV_C6
520 wxPAPER_ENV_C65
= wxc
.wxPAPER_ENV_C65
521 wxPAPER_ENV_B4
= wxc
.wxPAPER_ENV_B4
522 wxPAPER_ENV_B5
= wxc
.wxPAPER_ENV_B5
523 wxPAPER_ENV_B6
= wxc
.wxPAPER_ENV_B6
524 wxPAPER_ENV_ITALY
= wxc
.wxPAPER_ENV_ITALY
525 wxPAPER_ENV_MONARCH
= wxc
.wxPAPER_ENV_MONARCH
526 wxPAPER_ENV_PERSONAL
= wxc
.wxPAPER_ENV_PERSONAL
527 wxPAPER_FANFOLD_US
= wxc
.wxPAPER_FANFOLD_US
528 wxPAPER_FANFOLD_STD_GERMAN
= wxc
.wxPAPER_FANFOLD_STD_GERMAN
529 wxPAPER_FANFOLD_LGL_GERMAN
= wxc
.wxPAPER_FANFOLD_LGL_GERMAN
530 wxPAPER_ISO_B4
= wxc
.wxPAPER_ISO_B4
531 wxPAPER_JAPANESE_POSTCARD
= wxc
.wxPAPER_JAPANESE_POSTCARD
532 wxPAPER_9X11
= wxc
.wxPAPER_9X11
533 wxPAPER_10X11
= wxc
.wxPAPER_10X11
534 wxPAPER_15X11
= wxc
.wxPAPER_15X11
535 wxPAPER_ENV_INVITE
= wxc
.wxPAPER_ENV_INVITE
536 wxPAPER_LETTER_EXTRA
= wxc
.wxPAPER_LETTER_EXTRA
537 wxPAPER_LEGAL_EXTRA
= wxc
.wxPAPER_LEGAL_EXTRA
538 wxPAPER_TABLOID_EXTRA
= wxc
.wxPAPER_TABLOID_EXTRA
539 wxPAPER_A4_EXTRA
= wxc
.wxPAPER_A4_EXTRA
540 wxPAPER_LETTER_TRANSVERSE
= wxc
.wxPAPER_LETTER_TRANSVERSE
541 wxPAPER_A4_TRANSVERSE
= wxc
.wxPAPER_A4_TRANSVERSE
542 wxPAPER_LETTER_EXTRA_TRANSVERSE
= wxc
.wxPAPER_LETTER_EXTRA_TRANSVERSE
543 wxPAPER_A_PLUS
= wxc
.wxPAPER_A_PLUS
544 wxPAPER_B_PLUS
= wxc
.wxPAPER_B_PLUS
545 wxPAPER_LETTER_PLUS
= wxc
.wxPAPER_LETTER_PLUS
546 wxPAPER_A4_PLUS
= wxc
.wxPAPER_A4_PLUS
547 wxPAPER_A5_TRANSVERSE
= wxc
.wxPAPER_A5_TRANSVERSE
548 wxPAPER_B5_TRANSVERSE
= wxc
.wxPAPER_B5_TRANSVERSE
549 wxPAPER_A3_EXTRA
= wxc
.wxPAPER_A3_EXTRA
550 wxPAPER_A5_EXTRA
= wxc
.wxPAPER_A5_EXTRA
551 wxPAPER_B5_EXTRA
= wxc
.wxPAPER_B5_EXTRA
552 wxPAPER_A2
= wxc
.wxPAPER_A2
553 wxPAPER_A3_TRANSVERSE
= wxc
.wxPAPER_A3_TRANSVERSE
554 wxPAPER_A3_EXTRA_TRANSVERSE
= wxc
.wxPAPER_A3_EXTRA_TRANSVERSE
559 wxVERSION_STRING
= wxc
.wxVERSION_STRING
560 wxEVT_NULL
= wxc
.wxEVT_NULL
561 wxEVT_FIRST
= wxc
.wxEVT_FIRST
562 wxEVT_COMMAND_BUTTON_CLICKED
= wxc
.wxEVT_COMMAND_BUTTON_CLICKED
563 wxEVT_COMMAND_CHECKBOX_CLICKED
= wxc
.wxEVT_COMMAND_CHECKBOX_CLICKED
564 wxEVT_COMMAND_CHOICE_SELECTED
= wxc
.wxEVT_COMMAND_CHOICE_SELECTED
565 wxEVT_COMMAND_LISTBOX_SELECTED
= wxc
.wxEVT_COMMAND_LISTBOX_SELECTED
566 wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
= wxc
.wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
567 wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
= wxc
.wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
568 wxEVT_COMMAND_TEXT_UPDATED
= wxc
.wxEVT_COMMAND_TEXT_UPDATED
569 wxEVT_COMMAND_TEXT_ENTER
= wxc
.wxEVT_COMMAND_TEXT_ENTER
570 wxEVT_COMMAND_MENU_SELECTED
= wxc
.wxEVT_COMMAND_MENU_SELECTED
571 wxEVT_COMMAND_SLIDER_UPDATED
= wxc
.wxEVT_COMMAND_SLIDER_UPDATED
572 wxEVT_COMMAND_RADIOBOX_SELECTED
= wxc
.wxEVT_COMMAND_RADIOBOX_SELECTED
573 wxEVT_COMMAND_RADIOBUTTON_SELECTED
= wxc
.wxEVT_COMMAND_RADIOBUTTON_SELECTED
574 wxEVT_COMMAND_SCROLLBAR_UPDATED
= wxc
.wxEVT_COMMAND_SCROLLBAR_UPDATED
575 wxEVT_COMMAND_VLBOX_SELECTED
= wxc
.wxEVT_COMMAND_VLBOX_SELECTED
576 wxEVT_COMMAND_COMBOBOX_SELECTED
= wxc
.wxEVT_COMMAND_COMBOBOX_SELECTED
577 wxEVT_COMMAND_TOOL_CLICKED
= wxc
.wxEVT_COMMAND_TOOL_CLICKED
578 wxEVT_COMMAND_TOOL_RCLICKED
= wxc
.wxEVT_COMMAND_TOOL_RCLICKED
579 wxEVT_COMMAND_TOOL_ENTER
= wxc
.wxEVT_COMMAND_TOOL_ENTER
580 wxEVT_SET_FOCUS
= wxc
.wxEVT_SET_FOCUS
581 wxEVT_KILL_FOCUS
= wxc
.wxEVT_KILL_FOCUS
582 wxEVT_LEFT_DOWN
= wxc
.wxEVT_LEFT_DOWN
583 wxEVT_LEFT_UP
= wxc
.wxEVT_LEFT_UP
584 wxEVT_MIDDLE_DOWN
= wxc
.wxEVT_MIDDLE_DOWN
585 wxEVT_MIDDLE_UP
= wxc
.wxEVT_MIDDLE_UP
586 wxEVT_RIGHT_DOWN
= wxc
.wxEVT_RIGHT_DOWN
587 wxEVT_RIGHT_UP
= wxc
.wxEVT_RIGHT_UP
588 wxEVT_MOTION
= wxc
.wxEVT_MOTION
589 wxEVT_ENTER_WINDOW
= wxc
.wxEVT_ENTER_WINDOW
590 wxEVT_LEAVE_WINDOW
= wxc
.wxEVT_LEAVE_WINDOW
591 wxEVT_LEFT_DCLICK
= wxc
.wxEVT_LEFT_DCLICK
592 wxEVT_MIDDLE_DCLICK
= wxc
.wxEVT_MIDDLE_DCLICK
593 wxEVT_RIGHT_DCLICK
= wxc
.wxEVT_RIGHT_DCLICK
594 wxEVT_NC_LEFT_DOWN
= wxc
.wxEVT_NC_LEFT_DOWN
595 wxEVT_NC_LEFT_UP
= wxc
.wxEVT_NC_LEFT_UP
596 wxEVT_NC_MIDDLE_DOWN
= wxc
.wxEVT_NC_MIDDLE_DOWN
597 wxEVT_NC_MIDDLE_UP
= wxc
.wxEVT_NC_MIDDLE_UP
598 wxEVT_NC_RIGHT_DOWN
= wxc
.wxEVT_NC_RIGHT_DOWN
599 wxEVT_NC_RIGHT_UP
= wxc
.wxEVT_NC_RIGHT_UP
600 wxEVT_NC_MOTION
= wxc
.wxEVT_NC_MOTION
601 wxEVT_NC_ENTER_WINDOW
= wxc
.wxEVT_NC_ENTER_WINDOW
602 wxEVT_NC_LEAVE_WINDOW
= wxc
.wxEVT_NC_LEAVE_WINDOW
603 wxEVT_NC_LEFT_DCLICK
= wxc
.wxEVT_NC_LEFT_DCLICK
604 wxEVT_NC_MIDDLE_DCLICK
= wxc
.wxEVT_NC_MIDDLE_DCLICK
605 wxEVT_NC_RIGHT_DCLICK
= wxc
.wxEVT_NC_RIGHT_DCLICK
606 wxEVT_CHAR
= wxc
.wxEVT_CHAR
607 wxEVT_SCROLL_TOP
= wxc
.wxEVT_SCROLL_TOP
608 wxEVT_SCROLL_BOTTOM
= wxc
.wxEVT_SCROLL_BOTTOM
609 wxEVT_SCROLL_LINEUP
= wxc
.wxEVT_SCROLL_LINEUP
610 wxEVT_SCROLL_LINEDOWN
= wxc
.wxEVT_SCROLL_LINEDOWN
611 wxEVT_SCROLL_PAGEUP
= wxc
.wxEVT_SCROLL_PAGEUP
612 wxEVT_SCROLL_PAGEDOWN
= wxc
.wxEVT_SCROLL_PAGEDOWN
613 wxEVT_SCROLL_THUMBTRACK
= wxc
.wxEVT_SCROLL_THUMBTRACK
614 wxEVT_SIZE
= wxc
.wxEVT_SIZE
615 wxEVT_MOVE
= wxc
.wxEVT_MOVE
616 wxEVT_CLOSE_WINDOW
= wxc
.wxEVT_CLOSE_WINDOW
617 wxEVT_END_SESSION
= wxc
.wxEVT_END_SESSION
618 wxEVT_QUERY_END_SESSION
= wxc
.wxEVT_QUERY_END_SESSION
619 wxEVT_ACTIVATE_APP
= wxc
.wxEVT_ACTIVATE_APP
620 wxEVT_POWER
= wxc
.wxEVT_POWER
621 wxEVT_CHAR_HOOK
= wxc
.wxEVT_CHAR_HOOK
622 wxEVT_KEY_UP
= wxc
.wxEVT_KEY_UP
623 wxEVT_ACTIVATE
= wxc
.wxEVT_ACTIVATE
624 wxEVT_CREATE
= wxc
.wxEVT_CREATE
625 wxEVT_DESTROY
= wxc
.wxEVT_DESTROY
626 wxEVT_SHOW
= wxc
.wxEVT_SHOW
627 wxEVT_ICONIZE
= wxc
.wxEVT_ICONIZE
628 wxEVT_MAXIMIZE
= wxc
.wxEVT_MAXIMIZE
629 wxEVT_MOUSE_CAPTURE_CHANGED
= wxc
.wxEVT_MOUSE_CAPTURE_CHANGED
630 wxEVT_PAINT
= wxc
.wxEVT_PAINT
631 wxEVT_ERASE_BACKGROUND
= wxc
.wxEVT_ERASE_BACKGROUND
632 wxEVT_NC_PAINT
= wxc
.wxEVT_NC_PAINT
633 wxEVT_PAINT_ICON
= wxc
.wxEVT_PAINT_ICON
634 wxEVT_MENU_CHAR
= wxc
.wxEVT_MENU_CHAR
635 wxEVT_MENU_INIT
= wxc
.wxEVT_MENU_INIT
636 wxEVT_MENU_HIGHLIGHT
= wxc
.wxEVT_MENU_HIGHLIGHT
637 wxEVT_POPUP_MENU_INIT
= wxc
.wxEVT_POPUP_MENU_INIT
638 wxEVT_CONTEXT_MENU
= wxc
.wxEVT_CONTEXT_MENU
639 wxEVT_SYS_COLOUR_CHANGED
= wxc
.wxEVT_SYS_COLOUR_CHANGED
640 wxEVT_SETTING_CHANGED
= wxc
.wxEVT_SETTING_CHANGED
641 wxEVT_QUERY_NEW_PALETTE
= wxc
.wxEVT_QUERY_NEW_PALETTE
642 wxEVT_PALETTE_CHANGED
= wxc
.wxEVT_PALETTE_CHANGED
643 wxEVT_JOY_BUTTON_DOWN
= wxc
.wxEVT_JOY_BUTTON_DOWN
644 wxEVT_JOY_BUTTON_UP
= wxc
.wxEVT_JOY_BUTTON_UP
645 wxEVT_JOY_MOVE
= wxc
.wxEVT_JOY_MOVE
646 wxEVT_JOY_ZMOVE
= wxc
.wxEVT_JOY_ZMOVE
647 wxEVT_DROP_FILES
= wxc
.wxEVT_DROP_FILES
648 wxEVT_DRAW_ITEM
= wxc
.wxEVT_DRAW_ITEM
649 wxEVT_MEASURE_ITEM
= wxc
.wxEVT_MEASURE_ITEM
650 wxEVT_COMPARE_ITEM
= wxc
.wxEVT_COMPARE_ITEM
651 wxEVT_INIT_DIALOG
= wxc
.wxEVT_INIT_DIALOG
652 wxEVT_IDLE
= wxc
.wxEVT_IDLE
653 wxEVT_UPDATE_UI
= wxc
.wxEVT_UPDATE_UI
654 wxEVT_COMMAND_LEFT_CLICK
= wxc
.wxEVT_COMMAND_LEFT_CLICK
655 wxEVT_COMMAND_LEFT_DCLICK
= wxc
.wxEVT_COMMAND_LEFT_DCLICK
656 wxEVT_COMMAND_RIGHT_CLICK
= wxc
.wxEVT_COMMAND_RIGHT_CLICK
657 wxEVT_COMMAND_RIGHT_DCLICK
= wxc
.wxEVT_COMMAND_RIGHT_DCLICK
658 wxEVT_COMMAND_SET_FOCUS
= wxc
.wxEVT_COMMAND_SET_FOCUS
659 wxEVT_COMMAND_KILL_FOCUS
= wxc
.wxEVT_COMMAND_KILL_FOCUS
660 wxEVT_COMMAND_ENTER
= wxc
.wxEVT_COMMAND_ENTER
661 wxEVT_COMMAND_TREE_BEGIN_DRAG
= wxc
.wxEVT_COMMAND_TREE_BEGIN_DRAG
662 wxEVT_COMMAND_TREE_BEGIN_RDRAG
= wxc
.wxEVT_COMMAND_TREE_BEGIN_RDRAG
663 wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
= wxc
.wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
664 wxEVT_COMMAND_TREE_END_LABEL_EDIT
= wxc
.wxEVT_COMMAND_TREE_END_LABEL_EDIT
665 wxEVT_COMMAND_TREE_DELETE_ITEM
= wxc
.wxEVT_COMMAND_TREE_DELETE_ITEM
666 wxEVT_COMMAND_TREE_GET_INFO
= wxc
.wxEVT_COMMAND_TREE_GET_INFO
667 wxEVT_COMMAND_TREE_SET_INFO
= wxc
.wxEVT_COMMAND_TREE_SET_INFO
668 wxEVT_COMMAND_TREE_ITEM_EXPANDED
= wxc
.wxEVT_COMMAND_TREE_ITEM_EXPANDED
669 wxEVT_COMMAND_TREE_ITEM_EXPANDING
= wxc
.wxEVT_COMMAND_TREE_ITEM_EXPANDING
670 wxEVT_COMMAND_TREE_ITEM_COLLAPSED
= wxc
.wxEVT_COMMAND_TREE_ITEM_COLLAPSED
671 wxEVT_COMMAND_TREE_ITEM_COLLAPSING
= wxc
.wxEVT_COMMAND_TREE_ITEM_COLLAPSING
672 wxEVT_COMMAND_TREE_SEL_CHANGED
= wxc
.wxEVT_COMMAND_TREE_SEL_CHANGED
673 wxEVT_COMMAND_TREE_SEL_CHANGING
= wxc
.wxEVT_COMMAND_TREE_SEL_CHANGING
674 wxEVT_COMMAND_TREE_KEY_DOWN
= wxc
.wxEVT_COMMAND_TREE_KEY_DOWN
675 wxEVT_COMMAND_LIST_BEGIN_DRAG
= wxc
.wxEVT_COMMAND_LIST_BEGIN_DRAG
676 wxEVT_COMMAND_LIST_BEGIN_RDRAG
= wxc
.wxEVT_COMMAND_LIST_BEGIN_RDRAG
677 wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
= wxc
.wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
678 wxEVT_COMMAND_LIST_END_LABEL_EDIT
= wxc
.wxEVT_COMMAND_LIST_END_LABEL_EDIT
679 wxEVT_COMMAND_LIST_DELETE_ITEM
= wxc
.wxEVT_COMMAND_LIST_DELETE_ITEM
680 wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
= wxc
.wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
681 wxEVT_COMMAND_LIST_GET_INFO
= wxc
.wxEVT_COMMAND_LIST_GET_INFO
682 wxEVT_COMMAND_LIST_SET_INFO
= wxc
.wxEVT_COMMAND_LIST_SET_INFO
683 wxEVT_COMMAND_LIST_ITEM_SELECTED
= wxc
.wxEVT_COMMAND_LIST_ITEM_SELECTED
684 wxEVT_COMMAND_LIST_ITEM_DESELECTED
= wxc
.wxEVT_COMMAND_LIST_ITEM_DESELECTED
685 wxEVT_COMMAND_LIST_KEY_DOWN
= wxc
.wxEVT_COMMAND_LIST_KEY_DOWN
686 wxEVT_COMMAND_LIST_INSERT_ITEM
= wxc
.wxEVT_COMMAND_LIST_INSERT_ITEM
687 wxEVT_COMMAND_LIST_COL_CLICK
= wxc
.wxEVT_COMMAND_LIST_COL_CLICK
688 wxEVT_COMMAND_TAB_SEL_CHANGED
= wxc
.wxEVT_COMMAND_TAB_SEL_CHANGED
689 wxEVT_COMMAND_TAB_SEL_CHANGING
= wxc
.wxEVT_COMMAND_TAB_SEL_CHANGING
690 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
= wxc
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
691 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
= wxc
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
692 __version__
= wxc
.__version
__
694 wxPyDefaultPosition
= wxPointPtr(wxc
.cvar
.wxPyDefaultPosition
)
695 wxPyDefaultSize
= wxSizePtr(wxc
.cvar
.wxPyDefaultSize
)
698 #-------------- USER INCLUDE -----------------------
700 #----------------------------------------------------------------------------
702 # Purpose: This file is appended to the shadow class file generated
703 # by SWIG. We add some unSWIGable things here.
709 # Copyright: (c) 1998 by Total Control Software
710 # Licence: wxWindows license
711 #----------------------------------------------------------------------------
715 #----------------------------------------------------------------------
716 # This gives this module's dictionary to the C++ extension code...
718 _wxSetDictionary(vars())
721 #----------------------------------------------------------------------
722 #----------------------------------------------------------------------
723 # Helper function to link python methods to wxWindows virtual
726 def _checkForCallback(obj
, name
, event
, theID
=-1):
727 try: cb
= getattr(obj
, name
)
729 else: obj
.Connect(theID
, -1, event
, cb
)
731 def _StdWindowCallbacks(win
):
732 _checkForCallback(win
, "OnChar", wxEVT_CHAR
)
733 _checkForCallback(win
, "OnSize", wxEVT_SIZE
)
734 _checkForCallback(win
, "OnEraseBackground", wxEVT_ERASE_BACKGROUND
)
735 _checkForCallback(win
, "OnSysColourChanged", wxEVT_SYS_COLOUR_CHANGED
)
736 _checkForCallback(win
, "OnInitDialog", wxEVT_INIT_DIALOG
)
737 _checkForCallback(win
, "OnPaint", wxEVT_PAINT
)
738 _checkForCallback(win
, "OnIdle", wxEVT_IDLE
)
741 def _StdFrameCallbacks(win
):
742 _StdWindowCallbacks(win
)
743 _checkForCallback(win
, "OnActivate", wxEVT_ACTIVATE
)
744 _checkForCallback(win
, "OnMenuHighlight", wxEVT_MENU_HIGHLIGHT
)
745 _checkForCallback(win
, "OnCloseWindow", wxEVT_CLOSE_WINDOW
)
748 def _StdDialogCallbacks(win
):
749 _StdWindowCallbacks(win
)
750 _checkForCallback(win
, "OnOk", wxEVT_COMMAND_BUTTON_CLICKED
, wxID_OK
)
751 _checkForCallback(win
, "OnApply", wxEVT_COMMAND_BUTTON_CLICKED
, wxID_APPLY
)
752 _checkForCallback(win
, "OnCancel", wxEVT_COMMAND_BUTTON_CLICKED
, wxID_CANCEL
)
753 _checkForCallback(win
, "OnCloseWindow", wxEVT_CLOSE_WINDOW
)
754 _checkForCallback(win
, "OnCharHook", wxEVT_CHAR_HOOK
)
757 def _StdOnScrollCallbacks(win
):
758 try: cb
= getattr(win
, "OnScroll")
760 else: EVT_SCROLL(win
, cb
)
764 #----------------------------------------------------------------------
765 #----------------------------------------------------------------------
766 # functions that look and act like the C++ Macros of the same name
770 def EVT_SIZE(win
, func
):
771 win
.Connect(-1, -1, wxEVT_SIZE
, func
)
773 def EVT_MOVE(win
, func
):
774 win
.Connect(-1, -1, wxEVT_MOVE
, func
)
776 def EVT_CLOSE(win
, func
):
777 win
.Connect(-1, -1, wxEVT_CLOSE_WINDOW
, func
)
779 def EVT_PAINT(win
, func
):
780 win
.Connect(-1, -1, wxEVT_PAINT
, func
)
782 def EVT_ERASE_BACKGROUND(win
, func
):
783 win
.Connect(-1, -1, wxEVT_ERASE_BACKGROUND
, func
)
785 def EVT_CHAR(win
, func
):
786 win
.Connect(-1, -1, wxEVT_CHAR
, func
)
788 def EVT_CHAR_HOOK(win
, func
):
789 win
.Connect(-1, -1, wxEVT_CHAR_HOOK
, func
)
791 def EVT_MENU_HIGHLIGHT(win
, id, func
):
792 win
.Connect(id, -1, wxEVT_MENU_HIGHLIGHT
, func
)
794 def EVT_MENU_HIGHLIGHT_ALL(win
, func
):
795 win
.Connect(-1, -1, wxEVT_MENU_HIGHLIGHT
, func
)
797 def EVT_SET_FOCUS(win
, func
):
798 win
.Connect(-1, -1, wxEVT_SET_FOCUS
, func
)
800 def EVT_KILL_FOCUS(win
, func
):
801 win
.Connect(-1, -1, wxEVT_KILL_FOCUS
, func
)
803 def EVT_ACTIVATE(win
, func
):
804 win
.Connect(-1, -1, wxEVT_ACTIVATE
, func
)
806 def EVT_ACTIVATE_APP(win
, func
):
807 win
.Connect(-1, -1, wxEVT_ACTIVATE_APP
, func
)
809 def EVT_END_SESSION(win
, func
):
810 win
.Connect(-1, -1, wxEVT_END_SESSION
, func
)
812 def EVT_QUERY_END_SESSION(win
, func
):
813 win
.Connect(-1, -1, wxEVT_QUERY_END_SESSION
, func
)
815 def EVT_DROP_FILES(win
, func
):
816 win
.Connect(-1, -1, wxEVT_DROP_FILES
, func
)
818 def EVT_INIT_DIALOG(win
, func
):
819 win
.Connect(-1, -1, wxEVT_INIT_DIALOG
, func
)
821 def EVT_SYS_COLOUR_CHANGED(win
, func
):
822 win
.Connect(-1, -1, wxEVT_SYS_COLOUR_CHANGED
, func
)
824 def EVT_SHOW(win
, func
):
825 win
.Connect(-1, -1, wxEVT_SHOW
, func
)
827 def EVT_MAXIMIZE(win
, func
):
828 win
.Connect(-1, -1, wxEVT_MAXIMIZE
, func
)
830 def EVT_ICONIZE(win
, func
):
831 win
.Connect(-1, -1, wxEVT_ICONIZE
, func
)
833 def EVT_NAVIGATION_KEY(win
, func
):
834 win
.Connect(-1, -1, wxEVT_NAVIGATION_KEY
, func
)
836 def EVT_IDLE(win
, func
):
837 win
.Connect(-1, -1, wxEVT_IDLE
, func
)
841 def EVT_LEFT_DOWN(win
, func
):
842 win
.Connect(-1, -1, wxEVT_LEFT_DOWN
, func
)
844 def EVT_LEFT_UP(win
, func
):
845 win
.Connect(-1, -1, wxEVT_LEFT_UP
, func
)
847 def EVT_MIDDLE_DOWN(win
, func
):
848 win
.Connect(-1, -1, wxEVT_MIDDLE_DOWN
, func
)
850 def EVT_MIDDLE_UP(win
, func
):
851 win
.Connect(-1, -1, wxEVT_MIDDLE_UP
, func
)
853 def EVT_RIGHT_DOWN(win
, func
):
854 win
.Connect(-1, -1, wxEVT_RIGHT_DOWN
, func
)
856 def EVT_RIGHT_UP(win
, func
):
857 win
.Connect(-1, -1, wxEVT_RIGHT_UP
, func
)
859 def EVT_MOTION(win
, func
):
860 win
.Connect(-1, -1, wxEVT_MOTION
, func
)
862 def EVT_LEFT_DCLICK(win
, func
):
863 win
.Connect(-1, -1, wxEVT_LEFT_DCLICK
, func
)
865 def EVT_MIDDLE_DCLICK(win
, func
):
866 win
.Connect(-1, -1, wxEVT_MIDDLE_DCLICK
, func
)
868 def EVT_RIGHT_DCLICK(win
, func
):
869 win
.Connect(-1, -1, wxEVT_RIGHT_DCLICK
, func
)
871 def EVT_LEAVE_WINDOW(win
, func
):
872 win
.Connect(-1, -1, wxEVT_LEAVE_WINDOW
, func
)
874 def EVT_ENTER_WINDOW(win
, func
):
875 win
.Connect(-1, -1, wxEVT_ENTER_WINDOW
, func
)
879 def EVT_MOUSE_EVENTS(win
, func
):
880 win
.Connect(-1, -1, wxEVT_LEFT_DOWN
, func
)
881 win
.Connect(-1, -1, wxEVT_LEFT_UP
, func
)
882 win
.Connect(-1, -1, wxEVT_MIDDLE_DOWN
, func
)
883 win
.Connect(-1, -1, wxEVT_MIDDLE_UP
, func
)
884 win
.Connect(-1, -1, wxEVT_RIGHT_DOWN
, func
)
885 win
.Connect(-1, -1, wxEVT_RIGHT_UP
, func
)
886 win
.Connect(-1, -1, wxEVT_MOTION
, func
)
887 win
.Connect(-1, -1, wxEVT_LEFT_DCLICK
, func
)
888 win
.Connect(-1, -1, wxEVT_MIDDLE_DCLICK
, func
)
889 win
.Connect(-1, -1, wxEVT_RIGHT_DCLICK
, func
)
890 win
.Connect(-1, -1, wxEVT_LEAVE_WINDOW
, func
)
891 win
.Connect(-1, -1, wxEVT_ENTER_WINDOW
, func
)
894 def EVT_COMMAND(win
, id, cmd
, func
):
895 win
.Connect(id, -1, cmd
, func
)
897 def EVT_COMMAND_RANGE(win
, id1
, id2
, cmd
, func
):
898 win
.Connect(id1
, id2
, cmd
, func
)
901 def EVT_SCROLL(win
, func
):
902 win
.Connect(-1, -1, wxEVT_SCROLL_TOP
, func
)
903 win
.Connect(-1, -1, wxEVT_SCROLL_BOTTOM
, func
)
904 win
.Connect(-1, -1, wxEVT_SCROLL_LINEUP
, func
)
905 win
.Connect(-1, -1, wxEVT_SCROLL_LINEDOWN
, func
)
906 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEUP
, func
)
907 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
908 win
.Connect(-1, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
910 def EVT_SCROLL_TOP(win
, func
):
911 win
.Connect(-1, -1, wxEVT_SCROLL_TOP
, func
)
913 def EVT_SCROLL_BOTTOM(win
, func
):
914 win
.Connect(-1, -1, wxEVT_SCROLL_BOTTOM
, func
)
916 def EVT_SCROLL_LINEUP(win
, func
):
917 win
.Connect(-1, -1, wxEVT_SCROLL_LINEUP
, func
)
919 def EVT_SCROLL_LINEDOWN(win
, func
):
920 win
.Connect(-1, -1, wxEVT_SCROLL_LINEDOWN
, func
)
922 def EVT_SCROLL_PAGEUP(win
, func
):
923 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEUP
, func
)
925 def EVT_SCROLL_PAGEDOWN(win
, func
):
926 win
.Connect(-1, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
928 def EVT_SCROLL_THUMBTRACK(win
, func
):
929 win
.Connect(-1, -1, wxEVT_SCROLL_THUMBTRACK
, func
)
933 # Scrolling, with an id
934 def EVT_COMMAND_SCROLL(win
, id, func
):
935 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
936 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
937 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
938 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
939 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
940 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
941 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
943 def EVT_COMMAND_SCROLL_TOP(win
, id, func
):
944 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
946 def EVT_COMMAND_SCROLL_BOTTOM(win
, id, func
):
947 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
949 def EVT_COMMAND_SCROLL_LINEUP(win
, id, func
):
950 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
952 def EVT_COMMAND_SCROLL_LINEDOWN(win
, id, func
):
953 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
955 def EVT_COMMAND_SCROLL_PAGEUP(win
, id, func
):
956 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
958 def EVT_COMMAND_SCROLL_PAGEDOWN(win
, id, func
):
959 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
961 def EVT_COMMAND_SCROLL_THUMBTRACK(win
, id, func
):
962 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
, func
)
965 # Convenience commands
966 def EVT_BUTTON(win
, id, func
):
967 win
.Connect(id, -1, wxEVT_COMMAND_BUTTON_CLICKED
, func
)
969 def EVT_CHECKBOX(win
, id, func
):
970 win
.Connect(id, -1, wxEVT_COMMAND_CHECKBOX_CLICKED
, func
)
972 def EVT_CHOICE(win
, id, func
):
973 win
.Connect(id, -1, wxEVT_COMMAND_CHOICE_SELECTED
, func
)
975 def EVT_LISTBOX(win
, id, func
):
976 win
.Connect(id, -1, wxEVT_COMMAND_LISTBOX_SELECTED
, func
)
978 def EVT_LISTBOX_DCLICK(win
, id, func
):
979 win
.Connect(id, -1, wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, func
)
981 def EVT_TEXT(win
, id, func
):
982 win
.Connect(id, -1, wxEVT_COMMAND_TEXT_UPDATED
, func
)
984 def EVT_TEXT_ENTER(win
, id, func
):
985 win
.Connect(id, -1, wxEVT_COMMAND_TEXT_ENTER
, func
)
987 def EVT_MENU(win
, id, func
):
988 win
.Connect(id, -1, wxEVT_COMMAND_MENU_SELECTED
, func
)
990 def EVT_MENU_RANGE(win
, id1
, id2
, func
):
991 win
.Connect(id1
, id2
, wxEVT_COMMAND_MENU_SELECTED
, func
)
993 def EVT_SLIDER(win
, id, func
):
994 win
.Connect(id, -1, wxEVT_COMMAND_SLIDER_UPDATED
, func
)
996 def EVT_RADIOBOX(win
, id, func
):
997 win
.Connect(id, -1, wxEVT_COMMAND_RADIOBOX_SELECTED
, func
)
999 def EVT_RADIOBUTTON(win
, id, func
):
1000 win
.Connect(id, -1, wxEVT_COMMAND_RADIOBUTTON_SELECTED
, func
)
1002 def EVT_VLBOX(win
, id, func
):
1003 win
.Connect(id, -1, wxEVT_COMMAND_VLBOX_SELECTED
, func
)
1005 def EVT_COMBOBOX(win
, id, func
):
1006 win
.Connect(id, -1, wxEVT_COMMAND_COMBOBOX_SELECTED
, func
)
1008 def EVT_TOOL(win
, id, func
):
1009 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_CLICKED
, func
)
1011 def EVT_TOOL_RCLICKED(win
, id, func
):
1012 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_RCLICKED
, func
)
1014 def EVT_TOOL_ENTER(win
, id, func
):
1015 win
.Connect(id, -1, wxEVT_COMMAND_TOOL_ENTER
, func
)
1017 def EVT_CHECKLISTBOX(win
, id, func
):
1018 win
.Connect(id, -1, wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, func
)
1021 # Generic command events
1023 def EVT_COMMAND_LEFT_CLICK(win
, id, func
):
1024 win
.Connect(id, -1, wxEVT_COMMAND_LEFT_CLICK
, func
)
1026 def EVT_COMMAND_LEFT_DCLICK(win
, id, func
):
1027 win
.Connect(id, -1, wxEVT_COMMAND_LEFT_DCLICK
, func
)
1029 def EVT_COMMAND_RIGHT_CLICK(win
, id, func
):
1030 win
.Connect(id, -1, wxEVT_COMMAND_RIGHT_CLICK
, func
)
1032 def EVT_COMMAND_RIGHT_DCLICK(win
, id, func
):
1033 win
.Connect(id, -1, wxEVT_COMMAND_RIGHT_DCLICK
, func
)
1035 def EVT_COMMAND_SET_FOCUS(win
, id, func
):
1036 win
.Connect(id, -1, wxEVT_COMMAND_SET_FOCUS
, func
)
1038 def EVT_COMMAND_KILL_FOCUS(win
, id, func
):
1039 win
.Connect(id, -1, wxEVT_COMMAND_KILL_FOCUS
, func
)
1041 def EVT_COMMAND_ENTER(win
, id, func
):
1042 win
.Connect(id, -1, wxEVT_COMMAND_ENTER
, func
)
1046 def EVT_NOTEBOOK_PAGE_CHANGED(win
, id, func
):
1047 win
.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, func
)
1049 def EVT_NOTEBOOK_PAGE_CHANGING(win
, id, func
):
1050 win
.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, func
)
1054 def EVT_TREE_BEGIN_DRAG(win
, id, func
):
1055 win
.Connect(id, -1, wxEVT_COMMAND_TREE_BEGIN_DRAG
, func
)
1057 def EVT_TREE_BEGIN_RDRAG(win
, id, func
):
1058 win
.Connect(id, -1, wxEVT_COMMAND_TREE_BEGIN_RDRAG
, func
)
1060 def EVT_TREE_BEGIN_LABEL_EDIT(win
, id, func
):
1061 win
.Connect(id, -1, wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, func
)
1063 def EVT_TREE_END_LABEL_EDIT(win
, id, func
):
1064 win
.Connect(id, -1, wxEVT_COMMAND_TREE_END_LABEL_EDIT
, func
)
1066 def EVT_TREE_GET_INFO(win
, id, func
):
1067 win
.Connect(id, -1, wxEVT_COMMAND_TREE_GET_INFO
, func
)
1069 def EVT_TREE_SET_INFO(win
, id, func
):
1070 win
.Connect(id, -1, wxEVT_COMMAND_TREE_SET_INFO
, func
)
1072 def EVT_TREE_ITEM_EXPANDED(win
, id, func
):
1073 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_EXPANDED
, func
)
1075 def EVT_TREE_ITEM_EXPANDING(win
, id, func
):
1076 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_EXPANDING
, func
)
1078 def EVT_TREE_ITEM_COLLAPSED(win
, id, func
):
1079 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, func
)
1081 def EVT_TREE_ITEM_COLLAPSING(win
, id, func
):
1082 win
.Connect(id, -1, wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, func
)
1084 def EVT_TREE_SEL_CHANGED(win
, id, func
):
1085 win
.Connect(id, -1, wxEVT_COMMAND_TREE_SEL_CHANGED
, func
)
1087 def EVT_TREE_SEL_CHANGING(win
, id, func
):
1088 win
.Connect(id, -1, wxEVT_COMMAND_TREE_SEL_CHANGING
, func
)
1090 def EVT_TREE_KEY_DOWN(win
, id, func
):
1091 win
.Connect(id, -1, wxEVT_COMMAND_TREE_KEY_DOWN
, func
)
1093 def EVT_TREE_DELETE_ITEM(win
, id, func
):
1094 win
.Connect(id, -1, wxEVT_COMMAND_TREE_DELETE_ITEM
, func
)
1098 def EVT_SPIN_UP(win
, id, func
):
1099 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1101 def EVT_SPIN_DOWN(win
, id, func
):
1102 win
.Connect(id, -1,wxEVT_SCROLL_LINEDOWN
, func
)
1104 def EVT_SPIN(win
, id, func
):
1105 win
.Connect(id, -1, wxEVT_SCROLL_TOP
, func
)
1106 win
.Connect(id, -1, wxEVT_SCROLL_BOTTOM
, func
)
1107 win
.Connect(id, -1, wxEVT_SCROLL_LINEUP
, func
)
1108 win
.Connect(id, -1, wxEVT_SCROLL_LINEDOWN
, func
)
1109 win
.Connect(id, -1, wxEVT_SCROLL_PAGEUP
, func
)
1110 win
.Connect(id, -1, wxEVT_SCROLL_PAGEDOWN
, func
)
1111 win
.Connect(id, -1, wxEVT_SCROLL_THUMBTRACK
,func
)
1117 def EVT_TASKBAR_MOVE(win
, func
):
1118 win
.Connect(-1, -1, wxEVT_TASKBAR_MOVE
, func
)
1120 def EVT_TASKBAR_LEFT_DOWN(win
, func
):
1121 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_DOWN
, func
)
1123 def EVT_TASKBAR_LEFT_UP(win
, func
):
1124 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_UP
, func
)
1126 def EVT_TASKBAR_RIGHT_DOWN(win
, func
):
1127 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_DOWN
, func
)
1129 def EVT_TASKBAR_RIGHT_UP(win
, func
):
1130 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_UP
, func
)
1132 def EVT_TASKBAR_LEFT_DCLICK(win
, func
):
1133 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_DCLICK
, func
)
1135 def EVT_TASKBAR_RIGHT_DCLICK(win
, func
):
1136 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_DCLICK
, func
)
1140 def EVT_GRID_SELECT_CELL(win
, fn
):
1141 win
.Connect(-1, -1, wxEVT_GRID_SELECT_CELL
, fn
)
1143 def EVT_GRID_CREATE_CELL(win
, fn
):
1144 win
.Connect(-1, -1, wxEVT_GRID_CREATE_CELL
, fn
)
1146 def EVT_GRID_CHANGE_LABELS(win
, fn
):
1147 win
.Connect(-1, -1, wxEVT_GRID_CHANGE_LABELS
, fn
)
1149 def EVT_GRID_CHANGE_SEL_LABEL(win
, fn
):
1150 win
.Connect(-1, -1, wxEVT_GRID_CHANGE_SEL_LABEL
, fn
)
1152 def EVT_GRID_CELL_CHANGE(win
, fn
):
1153 win
.Connect(-1, -1, wxEVT_GRID_CELL_CHANGE
, fn
)
1155 def EVT_GRID_CELL_LCLICK(win
, fn
):
1156 win
.Connect(-1, -1, wxEVT_GRID_CELL_LCLICK
, fn
)
1158 def EVT_GRID_CELL_RCLICK(win
, fn
):
1159 win
.Connect(-1, -1, wxEVT_GRID_CELL_RCLICK
, fn
)
1161 def EVT_GRID_LABEL_LCLICK(win
, fn
):
1162 win
.Connect(-1, -1, wxEVT_GRID_LABEL_LCLICK
, fn
)
1164 def EVT_GRID_LABEL_RCLICK(win
, fn
):
1165 win
.Connect(-1, -1, wxEVT_GRID_LABEL_RCLICK
, fn
)
1169 def EVT_SASH_DRAGGED(win
, id, func
):
1170 win
.Connect(id, -1, wxEVT_SASH_DRAGGED
, func
)
1172 def EVT_SASH_DRAGGED_RANGE(win
, id1
, id2
, func
):
1173 win
.Connect(id1
, id2
, wxEVT_SASH_DRAGGED
, func
)
1175 def EVT_QUERY_LAYOUT_INFO(win
, func
):
1176 win
.Connect(-1, -1, wxEVT_EVT_QUERY_LAYOUT_INFO
, func
)
1178 def EVT_CALCULATE_LAYOUT(win
, func
):
1179 win
.Connect(-1, -1, wxEVT_EVT_CALCULATE_LAYOUT
, func
)
1183 def EVT_LIST_BEGIN_DRAG(win
, id, func
):
1184 win
.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_DRAG
, func
)
1186 def EVT_LIST_BEGIN_RDRAG(win
, id, func
):
1187 win
.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_RDRAG
, func
)
1189 def EVT_LIST_BEGIN_LABEL_EDIT(win
, id, func
):
1190 win
.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, func
)
1192 def EVT_LIST_END_LABEL_EDIT(win
, id, func
):
1193 win
.Connect(id, -1, wxEVT_COMMAND_LIST_END_LABEL_EDIT
, func
)
1195 def EVT_LIST_DELETE_ITEM(win
, id, func
):
1196 win
.Connect(id, -1, wxEVT_COMMAND_LIST_DELETE_ITEM
, func
)
1198 def EVT_LIST_DELETE_ALL_ITEMS(win
, id, func
):
1199 win
.Connect(id, -1, wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, func
)
1201 def EVT_LIST_GET_INFO(win
, id, func
):
1202 win
.Connect(id, -1, wxEVT_COMMAND_LIST_GET_INFO
, func
)
1204 def EVT_LIST_SET_INFO(win
, id, func
):
1205 win
.Connect(id, -1, wxEVT_COMMAND_LIST_SET_INFO
, func
)
1207 def EVT_LIST_ITEM_SELECTED(win
, id, func
):
1208 win
.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_SELECTED
, func
)
1210 def EVT_LIST_ITEM_DESELECTED(win
, id, func
):
1211 win
.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_DESELECTED
, func
)
1213 def EVT_LIST_KEY_DOWN(win
, id, func
):
1214 win
.Connect(id, -1, wxEVT_COMMAND_LIST_KEY_DOWN
, func
)
1216 def EVT_LIST_INSERT_ITEM(win
, id, func
):
1217 win
.Connect(id, -1, wxEVT_COMMAND_LIST_INSERT_ITEM
, func
)
1219 def EVT_LIST_COL_CLICK(win
, id, func
):
1220 win
.Connect(id, -1, wxEVT_COMMAND_LIST_COL_CLICK
, func
)
1223 #----------------------------------------------------------------------
1225 class wxTimer(wxPyTimer
):
1227 wxPyTimer
.__init
__(self
, self
.Notify
) # derived class must provide
1228 # Notify(self) method.
1230 #----------------------------------------------------------------------
1231 # Some wxWin methods can take "NULL" as parameters, but the shadow classes
1232 # expect an object with the SWIG pointer as a 'this' member. This class
1233 # and instance fools the shadow into passing the NULL pointer.
1236 this
= 'NULL' # SWIG converts this to (void*)0
1241 #----------------------------------------------------------------------
1245 wxNamedColor
= wxNamedColour
1247 wxPyDefaultPosition
.Set(-1,-1)
1248 wxPyDefaultSize
.Set(-1,-1)
1250 # aliases so that C++ documentation applies:
1251 wxDefaultPosition
= wxPyDefaultPosition
1252 wxDefaultSize
= wxPyDefaultSize
1255 # This is to cover up a bug in SWIG. We are redefining
1256 # the shadow class that is generated for wxAcceleratorTable
1257 # because SWIG incorrectly uses "arg0.this"
1258 class wxAcceleratorTable(wxAcceleratorTablePtr
):
1259 def __init__(self
,arg0
) :
1260 self
.this
= miscc
.new_wxAcceleratorTable(arg0
)
1263 #----------------------------------------------------------------------
1265 ## class wxPyStdOutWindow:
1266 ## def __init__(self, title = "wxPython: stdout/stderr"):
1267 ## self.frame = None
1268 ## self.title = title
1270 ## def write(self, str):
1271 ## if not self.frame:
1272 ## self.frame = wxFrame(NULL, -1, self.title)
1273 ## self.text = wxTextCtrl(self.frame, -1, "", wxPoint(0,0), wxDefaultSize,
1274 ## wxTE_MULTILINE|wxTE_READONLY)
1275 ## self.frame.SetSize(wxSize(450, 300))
1276 ## self.frame.Show(true)
1277 ## EVT_CLOSE(self.frame, self.OnCloseWindow)
1278 ## self.text.AppendText(str)
1280 ## def OnCloseWindow(self, event):
1282 ## self.frame.Destroy()
1283 ## self.frame = None
1289 ## self.frame.Close(true)
1291 _defRedirect
= (wxPlatform
== '__WXMSW__')
1293 #----------------------------------------------------------------------
1294 # The main application class. Derive from this and implement an OnInit
1295 # method that creates a frame and then calls self.SetTopWindow(frame)
1297 class wxApp(wxPyApp
):
1298 error
= 'wxApp.error'
1300 def __init__(self
, redirect
=_defRedirect
, filename
=None):
1301 wxPyApp
.__init
__(self
)
1302 self
.stdioWin
= None
1303 self
.saveStdio
= (sys
.stdout
, sys
.stderr
)
1305 self
.RedirectStdio(filename
)
1307 # this initializes wxWindows and then calls our OnInit
1308 _wxStart(self
.OnInit
)
1317 def RedirectStdio(self
, filename
):
1319 sys
.stdout
= sys
.stderr
= open(filename
, 'a')
1321 #raise self.error, 'wxPyStdOutWindow not yet implemented.'
1322 self
.stdioWin
= sys
.stdout
= sys
.stderr
= wxPyStdOutWindow()
1324 def RestoreStdio(self
):
1325 sys
.stdout
, sys
.stderr
= self
.saveStdio
1326 if self
.stdioWin
!= None:
1327 self
.stdioWin
.close()
1330 #----------------------------------------------------------------------------
1333 # Revision 1.10 1999/05/02 02:06:37 RD
1334 # More for wxPython 2.0b9 (hopefully the last...)
1336 # Revision 1.12 1999/04/30 03:29:18 RD
1338 # wxPython 2.0b9, first phase (win32)
1339 # Added gobs of stuff, see wxPython/README.txt for details
1341 # Revision 1.11.4.2 1999/03/28 06:35:01 RD
1344 # Python thread support
1345 # various minor additions
1346 # various minor fixes
1348 # Revision 1.11.4.1 1999/03/27 23:29:13 RD
1351 # Python thread support
1352 # various minor additions
1353 # various minor fixes
1355 # Revision 1.11 1999/02/20 09:02:55 RD
1356 # Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
1357 # window handle. If you can get the window handle into the python code,
1358 # it should just work... More news on this later.
1360 # Added wxImageList, wxToolTip.
1362 # Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
1363 # wxRegConfig class.
1365 # As usual, some bug fixes, tweaks, etc.
1367 # Revision 1.10 1999/02/01 00:10:39 RD
1369 # Added the missing EVT_LIST_ITEM_SELECTED and friends.
1371 # Revision 1.9 1999/01/30 07:30:09 RD
1373 # Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
1375 # Various cleanup, tweaks, minor additions, etc. to maintain
1376 # compatibility with the current wxWindows.
1378 # Revision 1.8 1999/01/29 21:13:42 HH
1379 # Added aliases for wxDefaultPosition and wxDefaultSize (from wxPy..) in _extras,
1380 # so that C++ documentation applies.
1382 # Revision 1.7 1998/11/25 08:45:21 RD
1384 # Added wxPalette, wxRegion, wxRegionIterator, wxTaskbarIcon
1385 # Added events for wxGrid
1386 # Other various fixes and additions
1388 # Revision 1.6 1998/11/16 00:00:52 RD
1389 # Generic treectrl for wxPython/GTK compiles...
1391 # Revision 1.5 1998/10/20 07:38:02 RD
1394 # Revision 1.4 1998/10/20 06:43:54 RD
1395 # New wxTreeCtrl wrappers (untested)
1396 # some changes in helpers
1399 # Revision 1.3 1998/10/02 06:40:33 RD
1401 # Version 0.4 of wxPython for MSW.
1403 # Revision 1.2 1998/08/18 19:48:12 RD
1404 # more wxGTK compatibility things.
1406 # It builds now but there are serious runtime problems...
1408 # Revision 1.1 1998/08/09 08:25:49 RD