]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/windows.py
Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
[wxWidgets.git] / utils / wxPython / src / msw / windows.py
1 # This file was created automatically by SWIG.
2 import windowsc
3
4 from misc import *
5
6 from gdi import *
7 import wx
8
9 def wxDLG_PNT(win, point):
10 return win.ConvertDialogPointToPixels(point)
11
12 def wxDLG_SZE(win, size):
13 return win.ConvertDialogPointToPixels(size)
14
15 class wxEvtHandlerPtr :
16 def __init__(self,this):
17 self.this = this
18 self.thisown = 0
19 def Connect(self,arg0,arg1,arg2,arg3):
20 val = windowsc.wxEvtHandler_Connect(self.this,arg0,arg1,arg2,arg3)
21 return val
22 def __repr__(self):
23 return "<C wxEvtHandler instance>"
24 class wxEvtHandler(wxEvtHandlerPtr):
25 def __init__(self,this):
26 self.this = this
27
28
29
30
31 class wxWindowPtr(wxEvtHandlerPtr):
32 def __init__(self,this):
33 self.this = this
34 self.thisown = 0
35 def CaptureMouse(self):
36 val = windowsc.wxWindow_CaptureMouse(self.this)
37 return val
38 def Center(self,*args):
39 val = apply(windowsc.wxWindow_Center,(self.this,)+args)
40 return val
41 def Centre(self,*args):
42 val = apply(windowsc.wxWindow_Centre,(self.this,)+args)
43 return val
44 def ClientToScreen(self,arg0,arg1):
45 val = windowsc.wxWindow_ClientToScreen(self.this,arg0,arg1)
46 return val
47 def Close(self,*args):
48 val = apply(windowsc.wxWindow_Close,(self.this,)+args)
49 return val
50 def Destroy(self):
51 val = windowsc.wxWindow_Destroy(self.this)
52 return val
53 def DestroyChildren(self):
54 val = windowsc.wxWindow_DestroyChildren(self.this)
55 return val
56 def DragAcceptFiles(self,arg0):
57 val = windowsc.wxWindow_DragAcceptFiles(self.this,arg0)
58 return val
59 def Enable(self,arg0):
60 val = windowsc.wxWindow_Enable(self.this,arg0)
61 return val
62 def FindWindowByID(self,arg0):
63 val = windowsc.wxWindow_FindWindowByID(self.this,arg0)
64 val = wxWindowPtr(val)
65 return val
66 def FindWindowByName(self,arg0):
67 val = windowsc.wxWindow_FindWindowByName(self.this,arg0)
68 val = wxWindowPtr(val)
69 return val
70 def Fit(self):
71 val = windowsc.wxWindow_Fit(self.this)
72 return val
73 def GetBackgroundColour(self):
74 val = windowsc.wxWindow_GetBackgroundColour(self.this)
75 val = wxColourPtr(val)
76 val.thisown = 1
77 return val
78 def GetCharHeight(self):
79 val = windowsc.wxWindow_GetCharHeight(self.this)
80 return val
81 def GetCharWidth(self):
82 val = windowsc.wxWindow_GetCharWidth(self.this)
83 return val
84 def GetClientSizeTuple(self):
85 val = windowsc.wxWindow_GetClientSizeTuple(self.this)
86 return val
87 def GetClientSize(self):
88 val = windowsc.wxWindow_GetClientSize(self.this)
89 val = wxSizePtr(val)
90 val.thisown = 1
91 return val
92 def GetConstraints(self):
93 val = windowsc.wxWindow_GetConstraints(self.this)
94 val = wxLayoutConstraintsPtr(val)
95 return val
96 def GetDefaultItem(self):
97 val = windowsc.wxWindow_GetDefaultItem(self.this)
98 val = wxButtonPtr(val)
99 return val
100 def GetFont(self):
101 val = windowsc.wxWindow_GetFont(self.this)
102 val = wxFontPtr(val)
103 return val
104 def GetForegroundColour(self):
105 val = windowsc.wxWindow_GetForegroundColour(self.this)
106 val = wxColourPtr(val)
107 val.thisown = 1
108 return val
109 def GetGrandParent(self):
110 val = windowsc.wxWindow_GetGrandParent(self.this)
111 val = wxWindowPtr(val)
112 return val
113 def GetId(self):
114 val = windowsc.wxWindow_GetId(self.this)
115 return val
116 def GetLabel(self):
117 val = windowsc.wxWindow_GetLabel(self.this)
118 return val
119 def GetName(self):
120 val = windowsc.wxWindow_GetName(self.this)
121 return val
122 def GetParent(self):
123 val = windowsc.wxWindow_GetParent(self.this)
124 val = wxWindowPtr(val)
125 return val
126 def GetPositionTuple(self):
127 val = windowsc.wxWindow_GetPositionTuple(self.this)
128 return val
129 def GetPosition(self):
130 val = windowsc.wxWindow_GetPosition(self.this)
131 val = wxPointPtr(val)
132 val.thisown = 1
133 return val
134 def GetRect(self):
135 val = windowsc.wxWindow_GetRect(self.this)
136 val = wxRectPtr(val)
137 val.thisown = 1
138 return val
139 def GetReturnCode(self):
140 val = windowsc.wxWindow_GetReturnCode(self.this)
141 return val
142 def GetScrollThumb(self,arg0):
143 val = windowsc.wxWindow_GetScrollThumb(self.this,arg0)
144 return val
145 def GetScrollPos(self,arg0):
146 val = windowsc.wxWindow_GetScrollPos(self.this,arg0)
147 return val
148 def GetScrollRange(self,arg0):
149 val = windowsc.wxWindow_GetScrollRange(self.this,arg0)
150 return val
151 def GetSizeTuple(self):
152 val = windowsc.wxWindow_GetSizeTuple(self.this)
153 return val
154 def GetSize(self):
155 val = windowsc.wxWindow_GetSize(self.this)
156 val = wxSizePtr(val)
157 val.thisown = 1
158 return val
159 def GetTextExtent(self,arg0):
160 val = windowsc.wxWindow_GetTextExtent(self.this,arg0)
161 return val
162 def GetTitle(self):
163 val = windowsc.wxWindow_GetTitle(self.this)
164 return val
165 def GetWindowStyleFlag(self):
166 val = windowsc.wxWindow_GetWindowStyleFlag(self.this)
167 return val
168 def InitDialog(self):
169 val = windowsc.wxWindow_InitDialog(self.this)
170 return val
171 def IsEnabled(self):
172 val = windowsc.wxWindow_IsEnabled(self.this)
173 return val
174 def IsRetained(self):
175 val = windowsc.wxWindow_IsRetained(self.this)
176 return val
177 def IsShown(self):
178 val = windowsc.wxWindow_IsShown(self.this)
179 return val
180 def Layout(self):
181 val = windowsc.wxWindow_Layout(self.this)
182 return val
183 def LoadFromResource(self,arg0,arg1,*args):
184 val = apply(windowsc.wxWindow_LoadFromResource,(self.this,arg0.this,arg1,)+args)
185 return val
186 def Lower(self):
187 val = windowsc.wxWindow_Lower(self.this)
188 return val
189 def MakeModal(self,arg0):
190 val = windowsc.wxWindow_MakeModal(self.this,arg0)
191 return val
192 def Move(self,arg0,arg1):
193 val = windowsc.wxWindow_Move(self.this,arg0,arg1)
194 return val
195 def PopupMenu(self,arg0,arg1,arg2):
196 val = windowsc.wxWindow_PopupMenu(self.this,arg0.this,arg1,arg2)
197 return val
198 def Raise(self):
199 val = windowsc.wxWindow_Raise(self.this)
200 return val
201 def Refresh(self,*args):
202 argl = map(None,args)
203 try: argl[1] = argl[1].this
204 except: pass
205 args = tuple(argl)
206 val = apply(windowsc.wxWindow_Refresh,(self.this,)+args)
207 return val
208 def ReleaseMouse(self):
209 val = windowsc.wxWindow_ReleaseMouse(self.this)
210 return val
211 def ScreenToClient(self,arg0,arg1):
212 val = windowsc.wxWindow_ScreenToClient(self.this,arg0,arg1)
213 return val
214 def ScrollWindow(self,arg0,arg1,*args):
215 argl = map(None,args)
216 try: argl[0] = argl[0].this
217 except: pass
218 args = tuple(argl)
219 val = apply(windowsc.wxWindow_ScrollWindow,(self.this,arg0,arg1,)+args)
220 return val
221 def SetAcceleratorTable(self,arg0):
222 val = windowsc.wxWindow_SetAcceleratorTable(self.this,arg0.this)
223 return val
224 def SetAutoLayout(self,arg0):
225 val = windowsc.wxWindow_SetAutoLayout(self.this,arg0)
226 return val
227 def SetBackgroundColour(self,arg0):
228 val = windowsc.wxWindow_SetBackgroundColour(self.this,arg0.this)
229 return val
230 def SetConstraints(self,arg0):
231 val = windowsc.wxWindow_SetConstraints(self.this,arg0.this)
232 return val
233 def SetDoubleClick(self,arg0):
234 val = windowsc.wxWindow_SetDoubleClick(self.this,arg0)
235 return val
236 def SetFocus(self):
237 val = windowsc.wxWindow_SetFocus(self.this)
238 return val
239 def SetFont(self,arg0):
240 val = windowsc.wxWindow_SetFont(self.this,arg0.this)
241 return val
242 def SetForegroundColour(self,arg0):
243 val = windowsc.wxWindow_SetForegroundColour(self.this,arg0.this)
244 return val
245 def SetId(self,arg0):
246 val = windowsc.wxWindow_SetId(self.this,arg0)
247 return val
248 def SetName(self,arg0):
249 val = windowsc.wxWindow_SetName(self.this,arg0)
250 return val
251 def SetReturnCode(self,arg0):
252 val = windowsc.wxWindow_SetReturnCode(self.this,arg0)
253 return val
254 def SetScrollbar(self,arg0,arg1,arg2,arg3,*args):
255 val = apply(windowsc.wxWindow_SetScrollbar,(self.this,arg0,arg1,arg2,arg3,)+args)
256 return val
257 def SetScrollPos(self,arg0,arg1,*args):
258 val = apply(windowsc.wxWindow_SetScrollPos,(self.this,arg0,arg1,)+args)
259 return val
260 def SetDimensions(self,arg0,arg1,arg2,arg3,*args):
261 val = apply(windowsc.wxWindow_SetDimensions,(self.this,arg0,arg1,arg2,arg3,)+args)
262 return val
263 def SetSize(self,arg0):
264 val = windowsc.wxWindow_SetSize(self.this,arg0.this)
265 return val
266 def SetPosition(self,arg0):
267 val = windowsc.wxWindow_SetPosition(self.this,arg0.this)
268 return val
269 def SetSizeHints(self,*args):
270 val = apply(windowsc.wxWindow_SetSizeHints,(self.this,)+args)
271 return val
272 def SetClientSize(self,arg0,arg1):
273 val = windowsc.wxWindow_SetClientSize(self.this,arg0,arg1)
274 return val
275 def SetCursor(self,arg0):
276 val = windowsc.wxWindow_SetCursor(self.this,arg0.this)
277 return val
278 def SetTitle(self,arg0):
279 val = windowsc.wxWindow_SetTitle(self.this,arg0)
280 return val
281 def Show(self,arg0):
282 val = windowsc.wxWindow_Show(self.this,arg0)
283 return val
284 def TransferDataFromWindow(self):
285 val = windowsc.wxWindow_TransferDataFromWindow(self.this)
286 return val
287 def TransferDataToWindow(self):
288 val = windowsc.wxWindow_TransferDataToWindow(self.this)
289 return val
290 def Validate(self):
291 val = windowsc.wxWindow_Validate(self.this)
292 return val
293 def WarpPointer(self,arg0,arg1):
294 val = windowsc.wxWindow_WarpPointer(self.this,arg0,arg1)
295 return val
296 def ConvertDialogPointToPixels(self,arg0):
297 val = windowsc.wxWindow_ConvertDialogPointToPixels(self.this,arg0.this)
298 val = wxPointPtr(val)
299 val.thisown = 1
300 return val
301 def ConvertDialogSizeToPixels(self,arg0):
302 val = windowsc.wxWindow_ConvertDialogSizeToPixels(self.this,arg0.this)
303 val = wxSizePtr(val)
304 val.thisown = 1
305 return val
306 def ConvertPixelPointToDialog(self,arg0):
307 val = windowsc.wxWindow_ConvertPixelPointToDialog(self.this,arg0.this)
308 val = wxPointPtr(val)
309 val.thisown = 1
310 return val
311 def ConvertPixelSizeToDialog(self,arg0):
312 val = windowsc.wxWindow_ConvertPixelSizeToDialog(self.this,arg0.this)
313 val = wxSizePtr(val)
314 val.thisown = 1
315 return val
316 def __repr__(self):
317 return "<C wxWindow instance>"
318 class wxWindow(wxWindowPtr):
319 def __init__(self,arg0,arg1,*args) :
320 argl = map(None,args)
321 try: argl[0] = argl[0].this
322 except: pass
323 try: argl[1] = argl[1].this
324 except: pass
325 args = tuple(argl)
326 self.this = apply(windowsc.new_wxWindow,(arg0.this,arg1,)+args)
327 self.thisown = 1
328 wx._StdWindowCallbacks(self)
329
330
331
332
333 class wxPanelPtr(wxWindowPtr):
334 def __init__(self,this):
335 self.this = this
336 self.thisown = 0
337 def InitDialog(self):
338 val = windowsc.wxPanel_InitDialog(self.this)
339 return val
340 def __repr__(self):
341 return "<C wxPanel instance>"
342 class wxPanel(wxPanelPtr):
343 def __init__(self,arg0,arg1,*args) :
344 argl = map(None,args)
345 try: argl[0] = argl[0].this
346 except: pass
347 try: argl[1] = argl[1].this
348 except: pass
349 args = tuple(argl)
350 self.this = apply(windowsc.new_wxPanel,(arg0.this,arg1,)+args)
351 self.thisown = 1
352 wx._StdWindowCallbacks(self)
353
354
355
356
357 class wxDialogPtr(wxPanelPtr):
358 def __init__(self,this):
359 self.this = this
360 self.thisown = 0
361 def Centre(self,*args):
362 val = apply(windowsc.wxDialog_Centre,(self.this,)+args)
363 return val
364 def EndModal(self,arg0):
365 val = windowsc.wxDialog_EndModal(self.this,arg0)
366 return val
367 def GetTitle(self):
368 val = windowsc.wxDialog_GetTitle(self.this)
369 return val
370 def Iconize(self,arg0):
371 val = windowsc.wxDialog_Iconize(self.this,arg0)
372 return val
373 def IsIconized(self):
374 val = windowsc.wxDialog_IsIconized(self.this)
375 return val
376 def SetModal(self,arg0):
377 val = windowsc.wxDialog_SetModal(self.this,arg0)
378 return val
379 def IsModal(self):
380 val = windowsc.wxDialog_IsModal(self.this)
381 return val
382 def SetTitle(self,arg0):
383 val = windowsc.wxDialog_SetTitle(self.this,arg0)
384 return val
385 def Show(self,arg0):
386 val = windowsc.wxDialog_Show(self.this,arg0)
387 return val
388 def ShowModal(self):
389 val = windowsc.wxDialog_ShowModal(self.this)
390 return val
391 def __repr__(self):
392 return "<C wxDialog instance>"
393 class wxDialog(wxDialogPtr):
394 def __init__(self,arg0,arg1,arg2,*args) :
395 argl = map(None,args)
396 try: argl[0] = argl[0].this
397 except: pass
398 try: argl[1] = argl[1].this
399 except: pass
400 args = tuple(argl)
401 self.this = apply(windowsc.new_wxDialog,(arg0.this,arg1,arg2,)+args)
402 self.thisown = 1
403 wx._StdDialogCallbacks(self)
404
405
406
407
408 class wxScrolledWindowPtr(wxWindowPtr):
409 def __init__(self,this):
410 self.this = this
411 self.thisown = 0
412 def EnableScrolling(self,arg0,arg1):
413 val = windowsc.wxScrolledWindow_EnableScrolling(self.this,arg0,arg1)
414 return val
415 def GetScrollPixelsPerUnit(self):
416 val = windowsc.wxScrolledWindow_GetScrollPixelsPerUnit(self.this)
417 return val
418 def GetVirtualSize(self):
419 val = windowsc.wxScrolledWindow_GetVirtualSize(self.this)
420 return val
421 def IsRetained(self):
422 val = windowsc.wxScrolledWindow_IsRetained(self.this)
423 return val
424 def PrepareDC(self,arg0):
425 val = windowsc.wxScrolledWindow_PrepareDC(self.this,arg0.this)
426 return val
427 def Scroll(self,arg0,arg1):
428 val = windowsc.wxScrolledWindow_Scroll(self.this,arg0,arg1)
429 return val
430 def SetScrollbars(self,arg0,arg1,arg2,arg3,*args):
431 val = apply(windowsc.wxScrolledWindow_SetScrollbars,(self.this,arg0,arg1,arg2,arg3,)+args)
432 return val
433 def ViewStart(self):
434 val = windowsc.wxScrolledWindow_ViewStart(self.this)
435 return val
436 def __repr__(self):
437 return "<C wxScrolledWindow instance>"
438 class wxScrolledWindow(wxScrolledWindowPtr):
439 def __init__(self,arg0,*args) :
440 argl = map(None,args)
441 try: argl[1] = argl[1].this
442 except: pass
443 try: argl[2] = argl[2].this
444 except: pass
445 args = tuple(argl)
446 self.this = apply(windowsc.new_wxScrolledWindow,(arg0.this,)+args)
447 self.thisown = 1
448 wx._StdWindowCallbacks(self)
449 wx._StdOnScrollCallbacks(self)
450
451
452
453
454 class wxMenuPtr(wxEvtHandlerPtr):
455 def __init__(self,this):
456 self.this = this
457 self.thisown = 0
458 def Append(self,arg0,arg1,*args):
459 val = apply(windowsc.wxMenu_Append,(self.this,arg0,arg1,)+args)
460 return val
461 def AppendMenu(self,arg0,arg1,arg2,*args):
462 val = apply(windowsc.wxMenu_AppendMenu,(self.this,arg0,arg1,arg2.this,)+args)
463 return val
464 def AppendSeparator(self):
465 val = windowsc.wxMenu_AppendSeparator(self.this)
466 return val
467 def Break(self):
468 val = windowsc.wxMenu_Break(self.this)
469 return val
470 def Check(self,arg0,arg1):
471 val = windowsc.wxMenu_Check(self.this,arg0,arg1)
472 return val
473 def Enable(self,arg0,arg1):
474 val = windowsc.wxMenu_Enable(self.this,arg0,arg1)
475 return val
476 def FindItem(self,arg0):
477 val = windowsc.wxMenu_FindItem(self.this,arg0)
478 return val
479 def GetTitle(self):
480 val = windowsc.wxMenu_GetTitle(self.this)
481 return val
482 def SetTitle(self,arg0):
483 val = windowsc.wxMenu_SetTitle(self.this,arg0)
484 return val
485 def FindItemForId(self,arg0):
486 val = windowsc.wxMenu_FindItemForId(self.this,arg0)
487 val = wxMenuItemPtr(val)
488 return val
489 def GetHelpString(self,arg0):
490 val = windowsc.wxMenu_GetHelpString(self.this,arg0)
491 return val
492 def GetLabel(self,arg0):
493 val = windowsc.wxMenu_GetLabel(self.this,arg0)
494 return val
495 def SetHelpString(self,arg0,arg1):
496 val = windowsc.wxMenu_SetHelpString(self.this,arg0,arg1)
497 return val
498 def IsChecked(self,arg0):
499 val = windowsc.wxMenu_IsChecked(self.this,arg0)
500 return val
501 def IsEnabled(self,arg0):
502 val = windowsc.wxMenu_IsEnabled(self.this,arg0)
503 return val
504 def SetLabel(self,arg0,arg1):
505 val = windowsc.wxMenu_SetLabel(self.this,arg0,arg1)
506 return val
507 def __repr__(self):
508 return "<C wxMenu instance>"
509 class wxMenu(wxMenuPtr):
510 def __init__(self,*args) :
511 self.this = apply(windowsc.new_wxMenu,()+args)
512 self.thisown = 1
513
514
515
516
517 class wxPyMenuPtr(wxMenuPtr):
518 def __init__(self,this):
519 self.this = this
520 self.thisown = 0
521 def __del__(self):
522 if self.thisown == 1 :
523 windowsc.delete_wxPyMenu(self.this)
524 def __repr__(self):
525 return "<C wxPyMenu instance>"
526 class wxPyMenu(wxPyMenuPtr):
527 def __init__(self,*args) :
528 self.this = apply(windowsc.new_wxPyMenu,()+args)
529 self.thisown = 1
530
531
532
533
534 class wxMenuBarPtr(wxEvtHandlerPtr):
535 def __init__(self,this):
536 self.this = this
537 self.thisown = 0
538 def Append(self,arg0,arg1):
539 val = windowsc.wxMenuBar_Append(self.this,arg0.this,arg1)
540 return val
541 def Check(self,arg0,arg1):
542 val = windowsc.wxMenuBar_Check(self.this,arg0,arg1)
543 return val
544 def Checked(self,arg0):
545 val = windowsc.wxMenuBar_Checked(self.this,arg0)
546 return val
547 def Enable(self,arg0,arg1):
548 val = windowsc.wxMenuBar_Enable(self.this,arg0,arg1)
549 return val
550 def Enabled(self,arg0):
551 val = windowsc.wxMenuBar_Enabled(self.this,arg0)
552 return val
553 def FindMenuItem(self,arg0,arg1):
554 val = windowsc.wxMenuBar_FindMenuItem(self.this,arg0,arg1)
555 return val
556 def FindItemForId(self,arg0):
557 val = windowsc.wxMenuBar_FindItemForId(self.this,arg0)
558 val = wxMenuItemPtr(val)
559 return val
560 def EnableTop(self,arg0,arg1):
561 val = windowsc.wxMenuBar_EnableTop(self.this,arg0,arg1)
562 return val
563 def GetHelpString(self,arg0):
564 val = windowsc.wxMenuBar_GetHelpString(self.this,arg0)
565 return val
566 def GetLabel(self,arg0):
567 val = windowsc.wxMenuBar_GetLabel(self.this,arg0)
568 return val
569 def SetHelpString(self,arg0,arg1):
570 val = windowsc.wxMenuBar_SetHelpString(self.this,arg0,arg1)
571 return val
572 def SetLabel(self,arg0,arg1):
573 val = windowsc.wxMenuBar_SetLabel(self.this,arg0,arg1)
574 return val
575 def GetLabelTop(self,arg0):
576 val = windowsc.wxMenuBar_GetLabelTop(self.this,arg0)
577 return val
578 def SetLabelTop(self,arg0,arg1):
579 val = windowsc.wxMenuBar_SetLabelTop(self.this,arg0,arg1)
580 return val
581 def GetMenuCount(self):
582 val = windowsc.wxMenuBar_GetMenuCount(self.this)
583 return val
584 def GetMenu(self,arg0):
585 val = windowsc.wxMenuBar_GetMenu(self.this,arg0)
586 val = wxMenuPtr(val)
587 return val
588 def __repr__(self):
589 return "<C wxMenuBar instance>"
590 class wxMenuBar(wxMenuBarPtr):
591 def __init__(self) :
592 self.this = windowsc.new_wxMenuBar()
593 self.thisown = 1
594
595
596
597
598 class wxMenuItemPtr :
599 def __init__(self,this):
600 self.this = this
601 self.thisown = 0
602 def IsSeparator(self):
603 val = windowsc.wxMenuItem_IsSeparator(self.this)
604 return val
605 def IsEnabled(self):
606 val = windowsc.wxMenuItem_IsEnabled(self.this)
607 return val
608 def IsChecked(self):
609 val = windowsc.wxMenuItem_IsChecked(self.this)
610 return val
611 def IsCheckable(self):
612 val = windowsc.wxMenuItem_IsCheckable(self.this)
613 return val
614 def GetId(self):
615 val = windowsc.wxMenuItem_GetId(self.this)
616 return val
617 def GetSubMenu(self):
618 val = windowsc.wxMenuItem_GetSubMenu(self.this)
619 val = wxMenuPtr(val)
620 return val
621 def SetName(self,arg0):
622 val = windowsc.wxMenuItem_SetName(self.this,arg0)
623 return val
624 def GetName(self):
625 val = windowsc.wxMenuItem_GetName(self.this)
626 return val
627 def GetHelp(self):
628 val = windowsc.wxMenuItem_GetHelp(self.this)
629 return val
630 def SetHelp(self,arg0):
631 val = windowsc.wxMenuItem_SetHelp(self.this,arg0)
632 return val
633 def Enable(self,*args):
634 val = apply(windowsc.wxMenuItem_Enable,(self.this,)+args)
635 return val
636 def Check(self,*args):
637 val = apply(windowsc.wxMenuItem_Check,(self.this,)+args)
638 return val
639 def DeleteSubMenu(self):
640 val = windowsc.wxMenuItem_DeleteSubMenu(self.this)
641 return val
642 def __repr__(self):
643 return "<C wxMenuItem instance>"
644 class wxMenuItem(wxMenuItemPtr):
645 def __init__(self,this):
646 self.this = this
647
648
649
650
651
652
653 #-------------- FUNCTION WRAPPERS ------------------
654
655 def wxWindow_FindFocus():
656 val = windowsc.wxWindow_FindFocus()
657 val = wxWindowPtr(val)
658 return val
659
660
661
662 #-------------- VARIABLE WRAPPERS ------------------
663