-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwx_wrap.h
706 lines (697 loc) · 33.5 KB
/
wx_wrap.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.11
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIG_WXWIDGETS_WRAP_H_
#define SWIG_WXWIDGETS_WRAP_H_
class SwigDirector_wxAppConsole : public wxAppConsole, public Swig::Director {
public:
SwigDirector_wxAppConsole(zval *self TSRMLS_DC);
virtual wxAppTraits *CreateTraits();
virtual wxAppTraits *CreateTraitsSwigPublic() {
return wxAppConsole::CreateTraits();
}
virtual ~SwigDirector_wxAppConsole();
virtual int MainLoop();
virtual void ExitMainLoop();
virtual int FilterEvent(wxEvent &event);
virtual void HandleEvent(wxEvtHandler *handler, wxEventFunction func, wxEvent &event) const;
virtual bool UsesEventLoop() const;
virtual void ProcessPendingEvents();
virtual void OnAssertFailure(wxChar const *file, int line, wxChar const *func, wxChar const *cond, wxChar const *msg);
virtual bool OnCmdLineError(wxCmdLineParser &parser);
virtual bool OnCmdLineHelp(wxCmdLineParser &parser);
virtual bool OnCmdLineParsed(wxCmdLineParser &parser);
virtual void OnEventLoopEnter(wxEventLoopBase *loop);
virtual void OnEventLoopExit(wxEventLoopBase *loop);
virtual bool OnExceptionInMainLoop();
virtual int OnExit();
virtual void OnFatalException();
virtual bool OnInit();
virtual void OnInitCmdLine(wxCmdLineParser &parser);
virtual int OnRun();
virtual void OnUnhandledException();
};
class SwigDirector_wxApp : public wxApp, public Swig::Director {
public:
SwigDirector_wxApp(zval *self TSRMLS_DC);
virtual wxAppTraits *CreateTraits();
virtual wxAppTraits *CreateTraitsSwigPublic() {
return wxAppConsole::CreateTraits();
}
virtual ~SwigDirector_wxApp();
virtual int MainLoop();
virtual void ExitMainLoop();
virtual int FilterEvent(wxEvent &event);
virtual void HandleEvent(wxEvtHandler *handler, wxEventFunction func, wxEvent &event) const;
virtual bool UsesEventLoop() const;
virtual void ProcessPendingEvents();
virtual void OnAssertFailure(wxChar const *file, int line, wxChar const *func, wxChar const *cond, wxChar const *msg);
virtual bool OnCmdLineError(wxCmdLineParser &parser);
virtual bool OnCmdLineHelp(wxCmdLineParser &parser);
virtual bool OnCmdLineParsed(wxCmdLineParser &parser);
virtual void OnEventLoopEnter(wxEventLoopBase *loop);
virtual void OnEventLoopExit(wxEventLoopBase *loop);
virtual bool OnExceptionInMainLoop();
virtual int OnExit();
virtual void OnFatalException();
virtual bool OnInit();
virtual void OnInitCmdLine(wxCmdLineParser &parser);
virtual int OnRun();
virtual void OnUnhandledException();
virtual wxVideoMode GetDisplayMode() const;
virtual wxLayoutDirection GetLayoutDirection() const;
virtual wxWindow *GetTopWindow() const;
virtual bool IsActive() const;
virtual bool SafeYield(wxWindow *win, bool onlyIfNeeded);
virtual bool SafeYieldFor(wxWindow *win, long eventsToProcess);
virtual bool SetDisplayMode(wxVideoMode const &info);
virtual bool SetNativeTheme(wxString const &theme);
};
class SwigDirector_wxWindow : public wxWindow, public Swig::Director {
public:
SwigDirector_wxWindow(zval *self TSRMLS_DC);
SwigDirector_wxWindow(zval *self, wxWindow *parent, wxWindowID id, wxPoint const &pos = wxDefaultPosition, wxSize const &size = wxDefaultSize, long style = 0, wxString const &name = wxPanelNameStr TSRMLS_DC);
virtual ~SwigDirector_wxWindow();
virtual bool AcceptsFocus() const;
virtual bool AcceptsFocusFromKeyboard() const;
virtual bool AcceptsFocusRecursively() const;
virtual bool HasFocus() const;
virtual void SetCanFocus(bool canFocus);
virtual void SetFocus();
virtual void SetFocusFromKbd();
virtual void AddChild(wxWindow *child);
virtual void RemoveChild(wxWindow *child);
virtual bool Reparent(wxWindow *newParent);
virtual void AlwaysShowScrollbars(bool hflag = true, bool vflag = true);
virtual int GetScrollPos(int orientation) const;
virtual int GetScrollRange(int orientation) const;
virtual int GetScrollThumb(int orientation) const;
virtual bool IsScrollbarAlwaysShown(int orient) const;
virtual bool ScrollLines(int lines);
virtual bool ScrollPages(int pages);
virtual void ScrollWindow(int dx, int dy, wxRect const *rect = NULL);
virtual void SetScrollPos(int orientation, int pos, bool refresh = true);
virtual void SetScrollbar(int orientation, int position, int thumbSize, int range, bool refresh = true);
virtual wxSize ClientToWindowSize(wxSize const &size) const;
virtual wxSize WindowToClientSize(wxSize const &size) const;
virtual void Fit();
virtual void FitInside();
virtual wxSize GetEffectiveMinSize() const;
virtual wxSize GetMaxClientSize() const;
virtual wxSize GetMaxSize() const;
virtual wxSize GetMinClientSize() const;
virtual wxSize GetMinSize() const;
virtual wxSize GetBestVirtualSize() const;
virtual wxSize GetWindowBorderSize() const;
virtual bool InformFirstDirection(int direction, int size, int availableOtherDir);
virtual void SendSizeEvent(int flags = 0);
virtual void SetMaxClientSize(wxSize const &size);
virtual void SetMaxSize(wxSize const &size);
virtual void SetMinClientSize(wxSize const &size);
virtual void SetMinSize(wxSize const &size);
virtual void SetSizeHints(wxSize const &minSize, wxSize const &maxSize = wxDefaultSize, wxSize const &incSize = wxDefaultSize);
virtual void SetSizeHints(int minW, int minH, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1);
virtual wxPoint GetClientAreaOrigin() const;
virtual void ClearBackground();
virtual wxBackgroundStyle GetBackgroundStyle() const;
virtual int GetCharHeight() const;
virtual int GetCharWidth() const;
virtual wxVisualAttributes GetDefaultAttributes() const;
virtual bool HasTransparentBackground();
virtual void Refresh(bool eraseBackground = true, wxRect const *rect = NULL);
virtual void Update();
virtual bool SetBackgroundColour(wxColour const &colour);
virtual bool SetBackgroundStyle(wxBackgroundStyle style);
virtual bool IsTransparentBackgroundSupported(wxString *reason = NULL) const;
virtual bool SetFont(wxFont const &font);
virtual bool SetForegroundColour(wxColour const &colour);
virtual bool ShouldInheritColours() const;
virtual void SetThemeEnabled(bool enable);
virtual bool GetThemeEnabled() const;
virtual bool CanSetTransparent();
virtual bool SetTransparent(wxByte alpha);
virtual void SetNextHandler(wxEvtHandler *handler);
virtual void SetPreviousHandler(wxEvtHandler *handler);
virtual long GetWindowStyleFlag() const;
virtual void SetExtraStyle(long exStyle);
virtual void SetWindowStyleFlag(long style);
virtual void Lower();
virtual void Raise();
virtual bool HideWithEffect(wxShowEffect effect, unsigned int timeout = 0);
virtual bool IsShown() const;
virtual bool IsShownOnScreen() const;
virtual bool Enable(bool enable = true);
virtual bool Show(bool show = true);
virtual bool ShowWithEffect(wxShowEffect effect, unsigned int timeout = 0);
virtual wxString GetHelpTextAtPoint(wxPoint const &point, wxHelpEvent::Origin origin) const;
virtual wxValidator *GetValidator();
virtual void SetValidator(wxValidator const &validator);
virtual bool TransferDataFromWindow();
virtual bool TransferDataToWindow();
virtual bool Validate();
virtual wxString GetLabel() const;
virtual wxLayoutDirection GetLayoutDirection() const;
virtual wxString GetName() const;
virtual void SetLabel(wxString const &label);
virtual void SetLayoutDirection(wxLayoutDirection dir);
virtual void SetName(wxString const &name);
virtual void SetAcceleratorTable(wxAcceleratorTable const &accel);
virtual bool Destroy();
virtual wxDropTarget *GetDropTarget() const;
virtual void SetDropTarget(wxDropTarget *target);
virtual void DragAcceptFiles(bool accept);
virtual bool Layout();
virtual bool HasCapture() const;
virtual bool SetCursor(wxCursor const &cursor);
virtual void WarpPointer(int x, int y);
virtual void DoUpdateWindowUI(wxUpdateUIEvent &event);
virtual WXWidget GetHandle() const;
virtual bool HasMultiplePages() const;
virtual void InheritAttributes();
virtual void InitDialog();
virtual bool IsDoubleBuffered() const;
virtual bool IsRetained() const;
virtual bool IsTopLevel() const;
virtual void OnInternalIdle();
virtual void UpdateWindowUI(long flags = wxUPDATE_UI_NONE);
virtual void DoCentre(int direction);
virtual void DoCentreSwigPublic(int direction) {
wxWindow::DoCentre(direction);
}
virtual wxSize DoGetBestSize() const;
virtual wxSize DoGetBestSizeSwigPublic() const {
return wxWindow::DoGetBestSize();
}
virtual wxSize DoGetBestClientSize() const;
virtual wxSize DoGetBestClientSizeSwigPublic() const {
return wxWindow::DoGetBestClientSize();
}
virtual int DoGetBestClientHeight(int width) const;
virtual int DoGetBestClientHeightSwigPublic(int width) const {
return wxWindow::DoGetBestClientHeight(width);
}
virtual int DoGetBestClientWidth(int height) const;
virtual int DoGetBestClientWidthSwigPublic(int height) const {
return wxWindow::DoGetBestClientWidth(height);
}
virtual void SetInitialBestSize(wxSize const &size);
virtual void SetInitialBestSizeSwigPublic(wxSize const &size) {
wxWindow::SetInitialBestSize(size);
}
virtual bool ProcessEvent(wxEvent &event);
virtual bool ProcessEventSwigPublic(wxEvent &event) {
return wxWindow::ProcessEvent(event);
}
virtual void QueueEvent(wxEvent *event);
virtual void QueueEventSwigPublic(wxEvent *event) {
wxWindow::QueueEvent(event);
}
virtual void AddPendingEvent(wxEvent const &event);
virtual void AddPendingEventSwigPublic(wxEvent const &event) {
wxWindow::AddPendingEvent(event);
}
};
class SwigDirector_wxNonOwnedWindow : public wxNonOwnedWindow, public Swig::Director {
public:
SwigDirector_wxNonOwnedWindow(zval *self TSRMLS_DC);
virtual ~SwigDirector_wxNonOwnedWindow();
virtual bool AcceptsFocus() const;
virtual bool AcceptsFocusFromKeyboard() const;
virtual bool AcceptsFocusRecursively() const;
virtual bool HasFocus() const;
virtual void SetCanFocus(bool canFocus);
virtual void SetFocus();
virtual void SetFocusFromKbd();
virtual void AddChild(wxWindow *child);
virtual void RemoveChild(wxWindow *child);
virtual bool Reparent(wxWindow *newParent);
virtual void AlwaysShowScrollbars(bool hflag = true, bool vflag = true);
virtual int GetScrollPos(int orientation) const;
virtual int GetScrollRange(int orientation) const;
virtual int GetScrollThumb(int orientation) const;
virtual bool IsScrollbarAlwaysShown(int orient) const;
virtual bool ScrollLines(int lines);
virtual bool ScrollPages(int pages);
virtual void ScrollWindow(int dx, int dy, wxRect const *rect = NULL);
virtual void SetScrollPos(int orientation, int pos, bool refresh = true);
virtual void SetScrollbar(int orientation, int position, int thumbSize, int range, bool refresh = true);
virtual wxSize ClientToWindowSize(wxSize const &size) const;
virtual wxSize WindowToClientSize(wxSize const &size) const;
virtual void Fit();
virtual void FitInside();
virtual wxSize GetEffectiveMinSize() const;
virtual wxSize GetMaxClientSize() const;
virtual wxSize GetMaxSize() const;
virtual wxSize GetMinClientSize() const;
virtual wxSize GetMinSize() const;
virtual wxSize GetBestVirtualSize() const;
virtual wxSize GetWindowBorderSize() const;
virtual bool InformFirstDirection(int direction, int size, int availableOtherDir);
virtual void SendSizeEvent(int flags = 0);
virtual void SetMaxClientSize(wxSize const &size);
virtual void SetMaxSize(wxSize const &size);
virtual void SetMinClientSize(wxSize const &size);
virtual void SetMinSize(wxSize const &size);
virtual void SetSizeHints(wxSize const &minSize, wxSize const &maxSize = wxDefaultSize, wxSize const &incSize = wxDefaultSize);
virtual void SetSizeHints(int minW, int minH, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1);
virtual wxPoint GetClientAreaOrigin() const;
virtual void ClearBackground();
virtual wxBackgroundStyle GetBackgroundStyle() const;
virtual int GetCharHeight() const;
virtual int GetCharWidth() const;
virtual wxVisualAttributes GetDefaultAttributes() const;
virtual bool HasTransparentBackground();
virtual void Refresh(bool eraseBackground = true, wxRect const *rect = NULL);
virtual void Update();
virtual bool SetBackgroundColour(wxColour const &colour);
virtual bool SetBackgroundStyle(wxBackgroundStyle style);
virtual bool IsTransparentBackgroundSupported(wxString *reason = NULL) const;
virtual bool SetFont(wxFont const &font);
virtual bool SetForegroundColour(wxColour const &colour);
virtual bool ShouldInheritColours() const;
virtual void SetThemeEnabled(bool enable);
virtual bool GetThemeEnabled() const;
virtual bool CanSetTransparent();
virtual bool SetTransparent(wxByte alpha);
virtual void SetNextHandler(wxEvtHandler *handler);
virtual void SetPreviousHandler(wxEvtHandler *handler);
virtual long GetWindowStyleFlag() const;
virtual void SetExtraStyle(long exStyle);
virtual void SetWindowStyleFlag(long style);
virtual void Lower();
virtual void Raise();
virtual bool HideWithEffect(wxShowEffect effect, unsigned int timeout = 0);
virtual bool IsShown() const;
virtual bool IsShownOnScreen() const;
virtual bool Enable(bool enable = true);
virtual bool Show(bool show = true);
virtual bool ShowWithEffect(wxShowEffect effect, unsigned int timeout = 0);
virtual wxString GetHelpTextAtPoint(wxPoint const &point, wxHelpEvent::Origin origin) const;
virtual wxValidator *GetValidator();
virtual void SetValidator(wxValidator const &validator);
virtual bool TransferDataFromWindow();
virtual bool TransferDataToWindow();
virtual bool Validate();
virtual wxString GetLabel() const;
virtual wxLayoutDirection GetLayoutDirection() const;
virtual wxString GetName() const;
virtual void SetLabel(wxString const &label);
virtual void SetLayoutDirection(wxLayoutDirection dir);
virtual void SetName(wxString const &name);
virtual void SetAcceleratorTable(wxAcceleratorTable const &accel);
virtual bool Destroy();
virtual wxDropTarget *GetDropTarget() const;
virtual void SetDropTarget(wxDropTarget *target);
virtual void DragAcceptFiles(bool accept);
virtual bool Layout();
virtual bool HasCapture() const;
virtual bool SetCursor(wxCursor const &cursor);
virtual void WarpPointer(int x, int y);
virtual void DoUpdateWindowUI(wxUpdateUIEvent &event);
virtual WXWidget GetHandle() const;
virtual bool HasMultiplePages() const;
virtual void InheritAttributes();
virtual void InitDialog();
virtual bool IsDoubleBuffered() const;
virtual bool IsRetained() const;
virtual bool IsTopLevel() const;
virtual void OnInternalIdle();
virtual void UpdateWindowUI(long flags = wxUPDATE_UI_NONE);
virtual void DoCentre(int direction);
virtual void DoCentreSwigPublic(int direction) {
wxWindow::DoCentre(direction);
}
virtual wxSize DoGetBestSize() const;
virtual wxSize DoGetBestSizeSwigPublic() const {
return wxWindow::DoGetBestSize();
}
virtual wxSize DoGetBestClientSize() const;
virtual wxSize DoGetBestClientSizeSwigPublic() const {
return wxWindow::DoGetBestClientSize();
}
virtual int DoGetBestClientHeight(int width) const;
virtual int DoGetBestClientHeightSwigPublic(int width) const {
return wxWindow::DoGetBestClientHeight(width);
}
virtual int DoGetBestClientWidth(int height) const;
virtual int DoGetBestClientWidthSwigPublic(int height) const {
return wxWindow::DoGetBestClientWidth(height);
}
virtual void SetInitialBestSize(wxSize const &size);
virtual void SetInitialBestSizeSwigPublic(wxSize const &size) {
wxWindow::SetInitialBestSize(size);
}
virtual bool ProcessEvent(wxEvent &event);
virtual bool ProcessEventSwigPublic(wxEvent &event) {
return wxWindow::ProcessEvent(event);
}
virtual void QueueEvent(wxEvent *event);
virtual void QueueEventSwigPublic(wxEvent *event) {
wxWindow::QueueEvent(event);
}
virtual void AddPendingEvent(wxEvent const &event);
virtual void AddPendingEventSwigPublic(wxEvent const &event) {
wxWindow::AddPendingEvent(event);
}
};
class SwigDirector_wxTopLevelWindow : public wxTopLevelWindow, public Swig::Director {
public:
SwigDirector_wxTopLevelWindow(zval *self TSRMLS_DC);
SwigDirector_wxTopLevelWindow(zval *self, wxWindow *parent, wxWindowID id, wxString const &title, wxPoint const &pos = wxDefaultPosition, wxSize const &size = wxDefaultSize, long style = (wxSYSTEM_MENU|wxRESIZE_BORDER|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxCLOSE_BOX|wxCAPTION|wxCLIP_CHILDREN), wxString const &name = wxFrameNameStr TSRMLS_DC);
virtual ~SwigDirector_wxTopLevelWindow();
virtual bool AcceptsFocus() const;
virtual bool AcceptsFocusFromKeyboard() const;
virtual bool AcceptsFocusRecursively() const;
virtual bool HasFocus() const;
virtual void SetCanFocus(bool canFocus);
virtual void SetFocus();
virtual void SetFocusFromKbd();
virtual void AddChild(wxWindow *child);
virtual void RemoveChild(wxWindow *child);
virtual bool Reparent(wxWindow *newParent);
virtual void AlwaysShowScrollbars(bool hflag = true, bool vflag = true);
virtual int GetScrollPos(int orientation) const;
virtual int GetScrollRange(int orientation) const;
virtual int GetScrollThumb(int orientation) const;
virtual bool IsScrollbarAlwaysShown(int orient) const;
virtual bool ScrollLines(int lines);
virtual bool ScrollPages(int pages);
virtual void ScrollWindow(int dx, int dy, wxRect const *rect = NULL);
virtual void SetScrollPos(int orientation, int pos, bool refresh = true);
virtual void SetScrollbar(int orientation, int position, int thumbSize, int range, bool refresh = true);
virtual wxSize ClientToWindowSize(wxSize const &size) const;
virtual wxSize WindowToClientSize(wxSize const &size) const;
virtual void Fit();
virtual void FitInside();
virtual wxSize GetEffectiveMinSize() const;
virtual wxSize GetMaxClientSize() const;
virtual wxSize GetMaxSize() const;
virtual wxSize GetMinClientSize() const;
virtual wxSize GetMinSize() const;
virtual wxSize GetBestVirtualSize() const;
virtual wxSize GetWindowBorderSize() const;
virtual bool InformFirstDirection(int direction, int size, int availableOtherDir);
virtual void SendSizeEvent(int flags = 0);
virtual void SetMaxClientSize(wxSize const &size);
virtual void SetMaxSize(wxSize const &size);
virtual void SetMinClientSize(wxSize const &size);
virtual void SetMinSize(wxSize const &size);
virtual void SetSizeHints(wxSize const &minSize, wxSize const &maxSize = wxDefaultSize, wxSize const &incSize = wxDefaultSize);
virtual void SetSizeHints(int minW, int minH, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1);
virtual wxPoint GetClientAreaOrigin() const;
virtual void ClearBackground();
virtual wxBackgroundStyle GetBackgroundStyle() const;
virtual int GetCharHeight() const;
virtual int GetCharWidth() const;
virtual wxVisualAttributes GetDefaultAttributes() const;
virtual bool HasTransparentBackground();
virtual void Refresh(bool eraseBackground = true, wxRect const *rect = NULL);
virtual void Update();
virtual bool SetBackgroundColour(wxColour const &colour);
virtual bool SetBackgroundStyle(wxBackgroundStyle style);
virtual bool IsTransparentBackgroundSupported(wxString *reason = NULL) const;
virtual bool SetFont(wxFont const &font);
virtual bool SetForegroundColour(wxColour const &colour);
virtual bool ShouldInheritColours() const;
virtual void SetThemeEnabled(bool enable);
virtual bool GetThemeEnabled() const;
virtual bool CanSetTransparent();
virtual bool SetTransparent(wxByte alpha);
virtual void SetNextHandler(wxEvtHandler *handler);
virtual void SetPreviousHandler(wxEvtHandler *handler);
virtual long GetWindowStyleFlag() const;
virtual void SetExtraStyle(long exStyle);
virtual void SetWindowStyleFlag(long style);
virtual void Lower();
virtual void Raise();
virtual bool HideWithEffect(wxShowEffect effect, unsigned int timeout = 0);
virtual bool IsShown() const;
virtual bool IsShownOnScreen() const;
virtual bool Enable(bool enable = true);
virtual bool Show(bool show = true);
virtual bool ShowWithEffect(wxShowEffect effect, unsigned int timeout = 0);
virtual wxString GetHelpTextAtPoint(wxPoint const &point, wxHelpEvent::Origin origin) const;
virtual wxValidator *GetValidator();
virtual void SetValidator(wxValidator const &validator);
virtual bool TransferDataFromWindow();
virtual bool TransferDataToWindow();
virtual bool Validate();
virtual wxString GetLabel() const;
virtual wxLayoutDirection GetLayoutDirection() const;
virtual wxString GetName() const;
virtual void SetLabel(wxString const &label);
virtual void SetLayoutDirection(wxLayoutDirection dir);
virtual void SetName(wxString const &name);
virtual void SetAcceleratorTable(wxAcceleratorTable const &accel);
virtual bool Destroy();
virtual wxDropTarget *GetDropTarget() const;
virtual void SetDropTarget(wxDropTarget *target);
virtual void DragAcceptFiles(bool accept);
virtual bool Layout();
virtual bool HasCapture() const;
virtual bool SetCursor(wxCursor const &cursor);
virtual void WarpPointer(int x, int y);
virtual void DoUpdateWindowUI(wxUpdateUIEvent &event);
virtual WXWidget GetHandle() const;
virtual bool HasMultiplePages() const;
virtual void InheritAttributes();
virtual void InitDialog();
virtual bool IsDoubleBuffered() const;
virtual bool IsRetained() const;
virtual bool IsTopLevel() const;
virtual void OnInternalIdle();
virtual void UpdateWindowUI(long flags = wxUPDATE_UI_NONE);
virtual void DoCentre(int direction);
virtual void DoCentreSwigPublic(int direction) {
wxWindow::DoCentre(direction);
}
virtual wxSize DoGetBestSize() const;
virtual wxSize DoGetBestSizeSwigPublic() const {
return wxWindow::DoGetBestSize();
}
virtual wxSize DoGetBestClientSize() const;
virtual wxSize DoGetBestClientSizeSwigPublic() const {
return wxWindow::DoGetBestClientSize();
}
virtual int DoGetBestClientHeight(int width) const;
virtual int DoGetBestClientHeightSwigPublic(int width) const {
return wxWindow::DoGetBestClientHeight(width);
}
virtual int DoGetBestClientWidth(int height) const;
virtual int DoGetBestClientWidthSwigPublic(int height) const {
return wxWindow::DoGetBestClientWidth(height);
}
virtual void SetInitialBestSize(wxSize const &size);
virtual void SetInitialBestSizeSwigPublic(wxSize const &size) {
wxWindow::SetInitialBestSize(size);
}
virtual bool ProcessEvent(wxEvent &event);
virtual bool ProcessEventSwigPublic(wxEvent &event) {
return wxWindow::ProcessEvent(event);
}
virtual void QueueEvent(wxEvent *event);
virtual void QueueEventSwigPublic(wxEvent *event) {
wxWindow::QueueEvent(event);
}
virtual void AddPendingEvent(wxEvent const &event);
virtual void AddPendingEventSwigPublic(wxEvent const &event) {
wxWindow::AddPendingEvent(event);
}
virtual bool EnableCloseButton(bool enable = true);
virtual wxString GetTitle() const;
virtual void Iconize(bool iconize = true);
virtual bool IsActive();
virtual bool IsAlwaysMaximized() const;
virtual bool IsFullScreen() const;
virtual bool IsIconized() const;
virtual bool IsMaximized() const;
virtual void Maximize(bool maximize = true);
virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
virtual void SetIcons(wxIconBundle const &icons);
virtual void SetTitle(wxString const &title);
virtual bool ShouldPreventAppExit() const;
virtual void OSXSetModified(bool modified);
virtual bool OSXIsModified() const;
virtual void SetRepresentedFilename(wxString const &filename);
virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
};
class SwigDirector_wxFrame : public wxFrame, public Swig::Director {
public:
SwigDirector_wxFrame(zval *self TSRMLS_DC);
SwigDirector_wxFrame(zval *self, wxWindow *parent, wxWindowID id, wxString const &title, wxPoint const &pos = wxDefaultPosition, wxSize const &size = wxDefaultSize, long style = (wxSYSTEM_MENU|wxRESIZE_BORDER|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxCLOSE_BOX|wxCAPTION|wxCLIP_CHILDREN), wxString const &name = wxFrameNameStr TSRMLS_DC);
virtual ~SwigDirector_wxFrame();
virtual bool AcceptsFocus() const;
virtual bool AcceptsFocusFromKeyboard() const;
virtual bool AcceptsFocusRecursively() const;
virtual bool HasFocus() const;
virtual void SetCanFocus(bool canFocus);
virtual void SetFocus();
virtual void SetFocusFromKbd();
virtual void AddChild(wxWindow *child);
virtual void RemoveChild(wxWindow *child);
virtual bool Reparent(wxWindow *newParent);
virtual void AlwaysShowScrollbars(bool hflag = true, bool vflag = true);
virtual int GetScrollPos(int orientation) const;
virtual int GetScrollRange(int orientation) const;
virtual int GetScrollThumb(int orientation) const;
virtual bool IsScrollbarAlwaysShown(int orient) const;
virtual bool ScrollLines(int lines);
virtual bool ScrollPages(int pages);
virtual void ScrollWindow(int dx, int dy, wxRect const *rect = NULL);
virtual void SetScrollPos(int orientation, int pos, bool refresh = true);
virtual void SetScrollbar(int orientation, int position, int thumbSize, int range, bool refresh = true);
virtual wxSize ClientToWindowSize(wxSize const &size) const;
virtual wxSize WindowToClientSize(wxSize const &size) const;
virtual void Fit();
virtual void FitInside();
virtual wxSize GetEffectiveMinSize() const;
virtual wxSize GetMaxClientSize() const;
virtual wxSize GetMaxSize() const;
virtual wxSize GetMinClientSize() const;
virtual wxSize GetMinSize() const;
virtual wxSize GetBestVirtualSize() const;
virtual wxSize GetWindowBorderSize() const;
virtual bool InformFirstDirection(int direction, int size, int availableOtherDir);
virtual void SendSizeEvent(int flags = 0);
virtual void SetMaxClientSize(wxSize const &size);
virtual void SetMaxSize(wxSize const &size);
virtual void SetMinClientSize(wxSize const &size);
virtual void SetMinSize(wxSize const &size);
virtual void SetSizeHints(wxSize const &minSize, wxSize const &maxSize = wxDefaultSize, wxSize const &incSize = wxDefaultSize);
virtual void SetSizeHints(int minW, int minH, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1);
virtual wxPoint GetClientAreaOrigin() const;
virtual void ClearBackground();
virtual wxBackgroundStyle GetBackgroundStyle() const;
virtual int GetCharHeight() const;
virtual int GetCharWidth() const;
virtual wxVisualAttributes GetDefaultAttributes() const;
virtual bool HasTransparentBackground();
virtual void Refresh(bool eraseBackground = true, wxRect const *rect = NULL);
virtual void Update();
virtual bool SetBackgroundColour(wxColour const &colour);
virtual bool SetBackgroundStyle(wxBackgroundStyle style);
virtual bool IsTransparentBackgroundSupported(wxString *reason = NULL) const;
virtual bool SetFont(wxFont const &font);
virtual bool SetForegroundColour(wxColour const &colour);
virtual bool ShouldInheritColours() const;
virtual void SetThemeEnabled(bool enable);
virtual bool GetThemeEnabled() const;
virtual bool CanSetTransparent();
virtual bool SetTransparent(wxByte alpha);
virtual void SetNextHandler(wxEvtHandler *handler);
virtual void SetPreviousHandler(wxEvtHandler *handler);
virtual long GetWindowStyleFlag() const;
virtual void SetExtraStyle(long exStyle);
virtual void SetWindowStyleFlag(long style);
virtual void Lower();
virtual void Raise();
virtual bool HideWithEffect(wxShowEffect effect, unsigned int timeout = 0);
virtual bool IsShown() const;
virtual bool IsShownOnScreen() const;
virtual bool Enable(bool enable = true);
virtual bool Show(bool show = true);
virtual bool ShowWithEffect(wxShowEffect effect, unsigned int timeout = 0);
virtual wxString GetHelpTextAtPoint(wxPoint const &point, wxHelpEvent::Origin origin) const;
virtual wxValidator *GetValidator();
virtual void SetValidator(wxValidator const &validator);
virtual bool TransferDataFromWindow();
virtual bool TransferDataToWindow();
virtual bool Validate();
virtual wxString GetLabel() const;
virtual wxLayoutDirection GetLayoutDirection() const;
virtual wxString GetName() const;
virtual void SetLabel(wxString const &label);
virtual void SetLayoutDirection(wxLayoutDirection dir);
virtual void SetName(wxString const &name);
virtual void SetAcceleratorTable(wxAcceleratorTable const &accel);
virtual bool Destroy();
virtual wxDropTarget *GetDropTarget() const;
virtual void SetDropTarget(wxDropTarget *target);
virtual void DragAcceptFiles(bool accept);
virtual bool Layout();
virtual bool HasCapture() const;
virtual bool SetCursor(wxCursor const &cursor);
virtual void WarpPointer(int x, int y);
virtual void DoUpdateWindowUI(wxUpdateUIEvent &event);
virtual WXWidget GetHandle() const;
virtual bool HasMultiplePages() const;
virtual void InheritAttributes();
virtual void InitDialog();
virtual bool IsDoubleBuffered() const;
virtual bool IsRetained() const;
virtual bool IsTopLevel() const;
virtual void OnInternalIdle();
virtual void UpdateWindowUI(long flags = wxUPDATE_UI_NONE);
virtual void DoCentre(int direction);
virtual void DoCentreSwigPublic(int direction) {
wxWindow::DoCentre(direction);
}
virtual wxSize DoGetBestSize() const;
virtual wxSize DoGetBestSizeSwigPublic() const {
return wxWindow::DoGetBestSize();
}
virtual wxSize DoGetBestClientSize() const;
virtual wxSize DoGetBestClientSizeSwigPublic() const {
return wxWindow::DoGetBestClientSize();
}
virtual int DoGetBestClientHeight(int width) const;
virtual int DoGetBestClientHeightSwigPublic(int width) const {
return wxWindow::DoGetBestClientHeight(width);
}
virtual int DoGetBestClientWidth(int height) const;
virtual int DoGetBestClientWidthSwigPublic(int height) const {
return wxWindow::DoGetBestClientWidth(height);
}
virtual void SetInitialBestSize(wxSize const &size);
virtual void SetInitialBestSizeSwigPublic(wxSize const &size) {
wxWindow::SetInitialBestSize(size);
}
virtual bool ProcessEvent(wxEvent &event);
virtual bool ProcessEventSwigPublic(wxEvent &event) {
return wxWindow::ProcessEvent(event);
}
virtual void QueueEvent(wxEvent *event);
virtual void QueueEventSwigPublic(wxEvent *event) {
wxWindow::QueueEvent(event);
}
virtual void AddPendingEvent(wxEvent const &event);
virtual void AddPendingEventSwigPublic(wxEvent const &event) {
wxWindow::AddPendingEvent(event);
}
virtual bool EnableCloseButton(bool enable = true);
virtual wxString GetTitle() const;
virtual void Iconize(bool iconize = true);
virtual bool IsActive();
virtual bool IsAlwaysMaximized() const;
virtual bool IsFullScreen() const;
virtual bool IsIconized() const;
virtual bool IsMaximized() const;
virtual void Maximize(bool maximize = true);
virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
virtual void SetIcons(wxIconBundle const &icons);
virtual void SetTitle(wxString const &title);
virtual bool ShouldPreventAppExit() const;
virtual void OSXSetModified(bool modified);
virtual bool OSXIsModified() const;
virtual void SetRepresentedFilename(wxString const &filename);
virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
virtual wxStatusBar *CreateStatusBar(int number = 1, long style = wxSTB_DEFAULT_STYLE, wxWindowID id = 0, wxString const &name = wxStatusBarNameStr);
virtual wxToolBar *CreateToolBar(long style = wxBORDER_NONE|wxTB_HORIZONTAL, wxWindowID id = wxID_ANY, wxString const &name = wxToolBarNameStr);
virtual wxMenuBar *GetMenuBar() const;
virtual wxStatusBar *GetStatusBar() const;
virtual wxToolBar *GetToolBar() const;
virtual wxStatusBar *OnCreateStatusBar(int number, long style, wxWindowID id, wxString const &name);
virtual wxToolBar *OnCreateToolBar(long style, wxWindowID id, wxString const &name);
virtual void SetMenuBar(wxMenuBar *menuBar);
virtual void SetStatusBar(wxStatusBar *statusBar);
virtual void SetStatusText(wxString const &text, int number = 0);
virtual void SetStatusWidths(int n, int const *widths_field);
virtual void SetToolBar(wxToolBar *toolBar);
};
#endif