]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/_defs.i
Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
[wxWidgets.git] / utils / wxPython / src / _defs.i
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: _defs.i
3 // Purpose: Definitions and stuff
4 //
5 // Author: Robin Dunn
6 //
7 // Created: 6/24/97
8 // RCS-ID: $Id$
9 // Copyright: (c) 1998 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
12
13
14
15 //---------------------------------------------------------------------------
16 // Forward declares...
17
18 class wxAcceleratorEntry;
19 class wxAcceleratorTable;
20 class wxActivateEvent;
21 class wxBitmapButton;
22 class wxBitmap;
23 class wxBrush;
24 class wxButton;
25 class wxCalculateLayoutEvent;
26 class wxCheckBox;
27 class wxCheckListBox;
28 class wxChoice;
29 class wxClientDC;
30 class wxCloseEvent;
31 class wxColourData;
32 class wxColourDialog;
33 class wxColour;
34 class wxComboBox;
35 class wxCommandEvent;
36 class wxConfig;
37 class wxControl;
38 class wxCursor;
39 class wxDC;
40 class wxDialog;
41 class wxDirDialog;
42 class wxDropFilesEvent;
43 class wxEraseEvent;
44 class wxEvent;
45 class wxEvtHandler;
46 class wxFileDialog;
47 class wxFocusEvent;
48 class wxFontData;
49 class wxFontDialog;
50 class wxFont;
51 class wxFrame;
52 class wxGauge;
53 class wxGridCell;
54 class wxGridEvent;
55 class wxGrid;
56 class wxIconizeEvent;
57 class wxIcon;
58 class wxIdleEvent;
59 class wxImageList;
60 class wxIndividualLayoutConstraint;
61 class wxInitDialogEvent;
62 class wxJoystickEvent;
63 class wxKeyEvent;
64 class wxLayoutAlgorithm;
65 class wxLayoutConstraints;
66 class wxListBox;
67 class wxListCtrl;
68 class wxListEvent;
69 class wxListItem;
70 class wxMDIChildFrame;
71 class wxMDIClientWindow;
72 class wxMDIParentFrame;
73 class wxMask;
74 class wxMaximizeEvent;
75 class wxMemoryDC;
76 class wxMenuBar;
77 class wxMenuEvent;
78 class wxMenuItem;
79 class wxMenu;
80 class wxMessageDialog;
81 class wxMetaFileDC;
82 class wxMiniFrame;
83 class wxMouseEvent;
84 class wxMoveEvent;
85 class wxNotebookEvent;
86 class wxNotebook;
87 class wxPageSetupData;
88 class wxPageSetupDialog;
89 class wxPaintDC;
90 class wxPaintEvent;
91 class wxPalette;
92 class wxPanel;
93 class wxPen;
94 class wxPoint;
95 class wxPostScriptDC;
96 class wxPrintData;
97 class wxPrintDialog;
98 class wxPrinterDC;
99 class wxQueryLayoutInfoEvent;
100 class wxRadioBox;
101 class wxRadioButton;
102 class wxRealPoint;
103 class wxRect;
104 class wxRegionIterator;
105 class wxRegion;
106 class wxSashEvent;
107 class wxSashLayoutWindow;
108 class wxSashWindow;
109 class wxScreenDC;
110 class wxScrollBar;
111 class wxScrollEvent;
112 class wxScrolledWindow;
113 class wxShowEvent;
114 class wxSingleChoiceDialog;
115 class wxSizeEvent;
116 class wxSize;
117 class wxSlider;
118 class wxSpinButton;
119 class wxSpinEvent;
120 class wxSplitterWindow;
121 class wxStaticBitmap;
122 class wxStaticBox;
123 class wxStaticText;
124 class wxStatusBar;
125 class wxSysColourChangedEvent;
126 class wxTaskBarIcon;
127 class wxTextCtrl;
128 class wxTextEntryDialog;
129 class wxTimer;
130 class wxToolBarTool;
131 class wxToolBar;
132 class wxToolTip;
133 class wxTreeCtrl;
134 class wxTreeEvent;
135 class wxTreeItemData;
136 class wxTreeItemId;
137 class wxUpdateUIEvent;
138 class wxWindowDC;
139 class wxWindow;
140
141 class wxPyApp;
142 class wxPyMenu;
143 class wxPyTimer;
144
145
146 //---------------------------------------------------------------------------
147
148 // some definitions for SWIG only
149 typedef unsigned char byte;
150 typedef short int WXTYPE;
151 typedef int wxWindowID;
152 typedef unsigned int uint;
153 typedef signed int EBool;
154
155
156 //---------------------------------------------------------------------------
157
158 // General numeric #define's and etc. Making them all enums makes SWIG use the
159 // real macro when making the Python Int
160
161 enum {
162 wxMAJOR_VERSION,
163 wxMINOR_VERSION,
164 wxRELEASE_NUMBER,
165
166 wxNOT_FOUND,
167
168 wxVSCROLL,
169 wxHSCROLL,
170 wxCAPTION,
171 wxDOUBLE_BORDER,
172 wxSUNKEN_BORDER,
173 wxRAISED_BORDER,
174 wxBORDER,
175 wxSIMPLE_BORDER,
176 wxSTATIC_BORDER,
177 wxTRANSPARENT_WINDOW,
178 wxNO_BORDER,
179 wxUSER_COLOURS,
180 wxNO_3D,
181 //wxOVERRIDE_KEY_TRANSLATIONS,
182 wxTAB_TRAVERSAL,
183 wxHORIZONTAL,
184 wxVERTICAL,
185 wxBOTH,
186 wxCENTER_FRAME,
187 wxSTAY_ON_TOP,
188 wxICONIZE,
189 wxMINIMIZE,
190 wxMAXIMIZE,
191 wxTHICK_FRAME,
192 wxSYSTEM_MENU,
193 wxMINIMIZE_BOX,
194 wxMAXIMIZE_BOX,
195 wxTINY_CAPTION_HORIZ,
196 wxTINY_CAPTION_VERT,
197 wxRESIZE_BOX,
198 wxRESIZE_BORDER,
199 wxDIALOG_MODAL,
200 wxDIALOG_MODELESS,
201 wxDEFAULT_FRAME_STYLE,
202 wxDEFAULT_DIALOG_STYLE,
203
204 wxFRAME_TOOL_WINDOW,
205 wxCLIP_CHILDREN,
206
207 wxRETAINED,
208 wxBACKINGSTORE,
209 wxTB_3DBUTTONS,
210 wxTB_HORIZONTAL,
211 wxTB_VERTICAL,
212 wxTB_FLAT,
213 wxCOLOURED,
214 wxFIXED_LENGTH,
215 wxALIGN_LEFT,
216 wxALIGN_CENTER,
217 wxALIGN_CENTRE,
218 wxALIGN_RIGHT,
219 wxLB_NEEDED_SB,
220 wxLB_ALWAYS_SB,
221 wxLB_SORT,
222 wxLB_SINGLE,
223 wxLB_MULTIPLE,
224 wxLB_EXTENDED,
225 wxLB_OWNERDRAW,
226 wxLB_HSCROLL,
227 wxPROCESS_ENTER,
228 wxPASSWORD,
229 wxTE_PROCESS_ENTER,
230 wxTE_PASSWORD,
231 wxTE_READONLY,
232 wxTE_MULTILINE,
233 wxCB_SIMPLE,
234 wxCB_DROPDOWN,
235 wxCB_SORT,
236 wxCB_READONLY,
237 wxRA_HORIZONTAL,
238 wxRA_VERTICAL,
239 wxRB_GROUP,
240 wxGA_PROGRESSBAR,
241 wxGA_HORIZONTAL,
242 wxGA_VERTICAL,
243 wxSL_HORIZONTAL,
244 wxSL_VERTICAL,
245 wxSL_AUTOTICKS,
246 wxSL_LABELS,
247 wxSL_LEFT,
248 wxSL_TOP,
249 wxSL_RIGHT,
250 wxSL_BOTTOM,
251 wxSL_BOTH,
252 wxSL_SELRANGE,
253 wxSB_HORIZONTAL,
254 wxSB_VERTICAL,
255 wxBU_AUTODRAW,
256 wxBU_NOAUTODRAW,
257 wxTR_HAS_BUTTONS,
258 wxTR_EDIT_LABELS,
259 wxTR_LINES_AT_ROOT,
260 wxLC_ICON,
261 wxLC_SMALL_ICON,
262 wxLC_LIST,
263 wxLC_REPORT,
264 wxLC_ALIGN_TOP,
265 wxLC_ALIGN_LEFT,
266 wxLC_AUTOARRANGE,
267 wxLC_USER_TEXT,
268 wxLC_EDIT_LABELS,
269 wxLC_NO_HEADER,
270 wxLC_NO_SORT_HEADER,
271 wxLC_SINGLE_SEL,
272 wxLC_SORT_ASCENDING,
273 wxLC_SORT_DESCENDING,
274 wxLC_MASK_TYPE,
275 wxLC_MASK_ALIGN,
276 wxLC_MASK_SORT,
277 wxSP_VERTICAL,
278 wxSP_HORIZONTAL,
279 wxSP_ARROW_KEYS,
280 wxSP_WRAP,
281 wxSP_NOBORDER,
282 wxSP_3D,
283 wxSP_BORDER,
284 wxTAB_MULTILINE,
285 wxTAB_RIGHTJUSTIFY,
286 wxTAB_FIXEDWIDTH,
287 wxTAB_OWNERDRAW,
288 // wxSB_SIZEGRIP,
289 wxFLOOD_SURFACE,
290 wxFLOOD_BORDER,
291 wxODDEVEN_RULE,
292 wxWINDING_RULE,
293 wxTOOL_TOP,
294 wxTOOL_BOTTOM,
295 wxTOOL_LEFT,
296 wxTOOL_RIGHT,
297 wxOK,
298 wxYES_NO,
299 wxCANCEL,
300 wxYES,
301 wxNO,
302 wxICON_EXCLAMATION,
303 wxICON_HAND,
304 wxICON_QUESTION,
305 wxICON_INFORMATION,
306 wxICON_STOP,
307 wxICON_ASTERISK,
308 wxICON_MASK,
309 wxCENTRE,
310 wxCENTER,
311 wxSIZE_AUTO_WIDTH,
312 wxSIZE_AUTO_HEIGHT,
313 wxSIZE_AUTO,
314 wxSIZE_USE_EXISTING,
315 wxSIZE_ALLOW_MINUS_ONE,
316 #ifndef __WXGTK__
317 wxDF_TEXT,
318 wxDF_BITMAP,
319 wxDF_METAFILE,
320 wxDF_DIB,
321 wxDF_OEMTEXT,
322 wxDF_FILENAME,
323 #endif
324 wxPORTRAIT,
325 wxLANDSCAPE,
326 wxID_OPEN,
327 wxID_CLOSE,
328 wxID_NEW,
329 wxID_SAVE,
330 wxID_SAVEAS,
331 wxID_REVERT,
332 wxID_EXIT,
333 wxID_UNDO,
334 wxID_REDO,
335 wxID_HELP,
336 wxID_PRINT,
337 wxID_PRINT_SETUP,
338 wxID_PREVIEW,
339 wxID_ABOUT,
340 wxID_HELP_CONTENTS,
341 wxID_HELP_COMMANDS,
342 wxID_HELP_PROCEDURES,
343 wxID_HELP_CONTEXT,
344 wxID_CUT,
345 wxID_COPY,
346 wxID_PASTE,
347 wxID_CLEAR,
348 wxID_FIND,
349 wxID_FILE1,
350 wxID_FILE2,
351 wxID_FILE3,
352 wxID_FILE4,
353 wxID_FILE5,
354 wxID_FILE6,
355 wxID_FILE7,
356 wxID_FILE8,
357 wxID_FILE9,
358 wxID_OK,
359 wxID_CANCEL,
360 wxID_APPLY,
361 wxID_YES,
362 wxID_NO,
363 wxBITMAP_TYPE_BMP,
364 wxBITMAP_TYPE_BMP_RESOURCE,
365 wxBITMAP_TYPE_ICO,
366 wxBITMAP_TYPE_ICO_RESOURCE,
367 wxBITMAP_TYPE_CUR,
368 wxBITMAP_TYPE_CUR_RESOURCE,
369 wxBITMAP_TYPE_XBM,
370 wxBITMAP_TYPE_XBM_DATA,
371 wxBITMAP_TYPE_XPM,
372 wxBITMAP_TYPE_XPM_DATA,
373 wxBITMAP_TYPE_TIF,
374 wxBITMAP_TYPE_TIF_RESOURCE,
375 wxBITMAP_TYPE_GIF,
376 wxBITMAP_TYPE_GIF_RESOURCE,
377 wxBITMAP_TYPE_PNG,
378 wxBITMAP_TYPE_PNG_RESOURCE,
379 wxBITMAP_TYPE_ANY,
380 wxBITMAP_TYPE_RESOURCE,
381
382 wxOPEN,
383 wxSAVE,
384 wxHIDE_READONLY,
385 wxOVERWRITE_PROMPT,
386
387 wxACCEL_ALT,
388 wxACCEL_CTRL,
389 wxACCEL_SHIFT,
390 };
391
392
393 /// Standard error codes
394 enum ErrCode
395 {
396 ERR_PARAM = (-4000),
397 ERR_NODATA,
398 ERR_CANCEL,
399 ERR_SUCCESS = 0
400 };
401
402
403 enum {
404 wxDEFAULT ,
405 wxDECORATIVE,
406 wxROMAN,
407 wxSCRIPT,
408 wxSWISS,
409 wxMODERN,
410 wxTELETYPE,
411 wxVARIABLE,
412 wxFIXED,
413 wxNORMAL,
414 wxLIGHT,
415 wxBOLD,
416 wxITALIC,
417 wxSLANT,
418 wxSOLID,
419 wxDOT,
420 wxLONG_DASH,
421 wxSHORT_DASH,
422 wxDOT_DASH,
423 wxUSER_DASH,
424 wxTRANSPARENT,
425 wxSTIPPLE,
426 wxBDIAGONAL_HATCH,
427 wxCROSSDIAG_HATCH,
428 wxFDIAGONAL_HATCH,
429 wxCROSS_HATCH,
430 wxHORIZONTAL_HATCH,
431 wxVERTICAL_HATCH,
432 wxJOIN_BEVEL,
433 wxJOIN_MITER,
434 wxJOIN_ROUND,
435 wxCAP_ROUND,
436 wxCAP_PROJECTING,
437 wxCAP_BUTT
438 };
439
440 typedef enum {
441 wxCLEAR, // 0
442 wxXOR, // src XOR dst
443 wxINVERT, // NOT dst
444 wxOR_REVERSE, // src OR (NOT dst)
445 wxAND_REVERSE,// src AND (NOT dst)
446 wxCOPY, // src
447 wxAND, // src AND dst
448 wxAND_INVERT, // (NOT src) AND dst
449 wxNO_OP, // dst
450 wxNOR, // (NOT src) AND (NOT dst)
451 wxEQUIV, // (NOT src) XOR dst
452 wxSRC_INVERT, // (NOT src)
453 wxOR_INVERT, // (NOT src) OR dst
454 wxNAND, // (NOT src) OR (NOT dst)
455 wxOR, // src OR dst
456 wxSET, // 1
457 wxSRC_OR, // source _bitmap_ OR destination
458 wxSRC_AND // source _bitmap_ AND destination
459 } form_ops_t;
460
461 enum _Virtual_keycodes {
462 WXK_BACK = 8,
463 WXK_TAB = 9,
464 WXK_RETURN = 13,
465 WXK_ESCAPE = 27,
466 WXK_SPACE = 32,
467 WXK_DELETE = 127,
468
469 WXK_START = 300,
470 WXK_LBUTTON,
471 WXK_RBUTTON,
472 WXK_CANCEL,
473 WXK_MBUTTON,
474 WXK_CLEAR,
475 WXK_SHIFT,
476 WXK_CONTROL,
477 WXK_MENU,
478 WXK_PAUSE,
479 WXK_CAPITAL,
480 WXK_PRIOR, // Page up
481 WXK_NEXT, // Page down
482 WXK_END,
483 WXK_HOME,
484 WXK_LEFT,
485 WXK_UP,
486 WXK_RIGHT,
487 WXK_DOWN,
488 WXK_SELECT,
489 WXK_PRINT,
490 WXK_EXECUTE,
491 WXK_SNAPSHOT,
492 WXK_INSERT,
493 WXK_HELP,
494 WXK_NUMPAD0,
495 WXK_NUMPAD1,
496 WXK_NUMPAD2,
497 WXK_NUMPAD3,
498 WXK_NUMPAD4,
499 WXK_NUMPAD5,
500 WXK_NUMPAD6,
501 WXK_NUMPAD7,
502 WXK_NUMPAD8,
503 WXK_NUMPAD9,
504 WXK_MULTIPLY,
505 WXK_ADD,
506 WXK_SEPARATOR,
507 WXK_SUBTRACT,
508 WXK_DECIMAL,
509 WXK_DIVIDE,
510 WXK_F1,
511 WXK_F2,
512 WXK_F3,
513 WXK_F4,
514 WXK_F5,
515 WXK_F6,
516 WXK_F7,
517 WXK_F8,
518 WXK_F9,
519 WXK_F10,
520 WXK_F11,
521 WXK_F12,
522 WXK_F13,
523 WXK_F14,
524 WXK_F15,
525 WXK_F16,
526 WXK_F17,
527 WXK_F18,
528 WXK_F19,
529 WXK_F20,
530 WXK_F21,
531 WXK_F22,
532 WXK_F23,
533 WXK_F24,
534 WXK_NUMLOCK,
535 WXK_SCROLL,
536 WXK_PAGEUP,
537 WXK_PAGEDOWN
538 };
539
540 typedef enum {
541 wxCURSOR_NONE = 0,
542 wxCURSOR_ARROW = 1,
543 wxCURSOR_BULLSEYE,
544 wxCURSOR_CHAR,
545 wxCURSOR_CROSS,
546 wxCURSOR_HAND,
547 wxCURSOR_IBEAM,
548 wxCURSOR_LEFT_BUTTON,
549 wxCURSOR_MAGNIFIER,
550 wxCURSOR_MIDDLE_BUTTON,
551 wxCURSOR_NO_ENTRY,
552 wxCURSOR_PAINT_BRUSH,
553 wxCURSOR_PENCIL,
554 wxCURSOR_POINT_LEFT,
555 wxCURSOR_POINT_RIGHT,
556 wxCURSOR_QUESTION_ARROW,
557 wxCURSOR_RIGHT_BUTTON,
558 wxCURSOR_SIZENESW,
559 wxCURSOR_SIZENS,
560 wxCURSOR_SIZENWSE,
561 wxCURSOR_SIZEWE,
562 wxCURSOR_SIZING,
563 wxCURSOR_SPRAYCAN,
564 wxCURSOR_WAIT,
565 wxCURSOR_WATCH,
566 wxCURSOR_BLANK
567 // #ifndef __WXMSW__
568 // /* Not yet implemented for Windows */
569 // , wxCURSOR_CROSS_REVERSE,
570 // wxCURSOR_DOUBLE_ARROW,
571 // wxCURSOR_BASED_ARROW_UP,
572 // wxCURSOR_BASED_ARROW_DOWN
573 // #endif
574 } _standard_cursors_t;
575
576
577 #define FALSE 0
578 #define false 0
579 #define TRUE 1
580 #define true 1
581
582 const char* wxVERSION_STRING;
583
584 //---------------------------------------------------------------------------
585 //---------------------------------------------------------------------------
586
587 /*
588 * Event types
589 *
590 */
591 enum wxEventType {
592 wxEVT_NULL = 0,
593 wxEVT_FIRST = 10000,
594
595 // New names
596 wxEVT_COMMAND_BUTTON_CLICKED,
597 wxEVT_COMMAND_CHECKBOX_CLICKED,
598 wxEVT_COMMAND_CHOICE_SELECTED,
599 wxEVT_COMMAND_LISTBOX_SELECTED,
600 wxEVT_COMMAND_LISTBOX_DOUBLECLICKED,
601 wxEVT_COMMAND_CHECKLISTBOX_TOGGLED,
602 wxEVT_COMMAND_TEXT_UPDATED,
603 wxEVT_COMMAND_TEXT_ENTER,
604 wxEVT_COMMAND_MENU_SELECTED,
605 wxEVT_COMMAND_SLIDER_UPDATED,
606 wxEVT_COMMAND_RADIOBOX_SELECTED,
607 wxEVT_COMMAND_RADIOBUTTON_SELECTED,
608 // wxEVT_COMMAND_SCROLLBAR_UPDATED is now obsolete since we use wxEVT_SCROLL... events
609 wxEVT_COMMAND_SCROLLBAR_UPDATED,
610 wxEVT_COMMAND_VLBOX_SELECTED,
611 wxEVT_COMMAND_COMBOBOX_SELECTED,
612 wxEVT_COMMAND_TOOL_CLICKED,
613 wxEVT_COMMAND_TOOL_RCLICKED,
614 wxEVT_COMMAND_TOOL_ENTER,
615 wxEVT_SET_FOCUS,
616 wxEVT_KILL_FOCUS,
617
618 /* Mouse event types */
619 wxEVT_LEFT_DOWN,
620 wxEVT_LEFT_UP,
621 wxEVT_MIDDLE_DOWN,
622 wxEVT_MIDDLE_UP,
623 wxEVT_RIGHT_DOWN,
624 wxEVT_RIGHT_UP,
625 wxEVT_MOTION,
626 wxEVT_ENTER_WINDOW,
627 wxEVT_LEAVE_WINDOW,
628 wxEVT_LEFT_DCLICK,
629 wxEVT_MIDDLE_DCLICK,
630 wxEVT_RIGHT_DCLICK,
631
632 // Non-client mouse events
633 wxEVT_NC_LEFT_DOWN = wxEVT_FIRST + 100,
634 wxEVT_NC_LEFT_UP,
635 wxEVT_NC_MIDDLE_DOWN,
636 wxEVT_NC_MIDDLE_UP,
637 wxEVT_NC_RIGHT_DOWN,
638 wxEVT_NC_RIGHT_UP,
639 wxEVT_NC_MOTION,
640 wxEVT_NC_ENTER_WINDOW,
641 wxEVT_NC_LEAVE_WINDOW,
642 wxEVT_NC_LEFT_DCLICK,
643 wxEVT_NC_MIDDLE_DCLICK,
644 wxEVT_NC_RIGHT_DCLICK,
645
646 /* Character input event type */
647 wxEVT_CHAR,
648
649 /*
650 * Scrollbar event identifiers
651 */
652 wxEVT_SCROLL_TOP,
653 wxEVT_SCROLL_BOTTOM,
654 wxEVT_SCROLL_LINEUP,
655 wxEVT_SCROLL_LINEDOWN,
656 wxEVT_SCROLL_PAGEUP,
657 wxEVT_SCROLL_PAGEDOWN,
658 wxEVT_SCROLL_THUMBTRACK,
659
660 wxEVT_SIZE = wxEVT_FIRST + 200,
661 wxEVT_MOVE,
662 wxEVT_CLOSE_WINDOW,
663 wxEVT_END_SESSION,
664 wxEVT_QUERY_END_SESSION,
665 wxEVT_ACTIVATE_APP,
666 wxEVT_POWER,
667 wxEVT_CHAR_HOOK,
668 wxEVT_KEY_UP,
669 wxEVT_ACTIVATE,
670 wxEVT_CREATE,
671 wxEVT_DESTROY,
672 wxEVT_SHOW,
673 wxEVT_ICONIZE,
674 wxEVT_MAXIMIZE,
675 wxEVT_MOUSE_CAPTURE_CHANGED,
676 wxEVT_PAINT,
677 wxEVT_ERASE_BACKGROUND,
678 wxEVT_NC_PAINT,
679 wxEVT_PAINT_ICON,
680 wxEVT_MENU_CHAR,
681 wxEVT_MENU_INIT,
682 wxEVT_MENU_HIGHLIGHT,
683 wxEVT_POPUP_MENU_INIT,
684 wxEVT_CONTEXT_MENU,
685 wxEVT_SYS_COLOUR_CHANGED,
686 wxEVT_SETTING_CHANGED,
687 wxEVT_QUERY_NEW_PALETTE,
688 wxEVT_PALETTE_CHANGED,
689 wxEVT_JOY_BUTTON_DOWN,
690 wxEVT_JOY_BUTTON_UP,
691 wxEVT_JOY_MOVE,
692 wxEVT_JOY_ZMOVE,
693 wxEVT_DROP_FILES,
694 wxEVT_DRAW_ITEM,
695 wxEVT_MEASURE_ITEM,
696 wxEVT_COMPARE_ITEM,
697 wxEVT_INIT_DIALOG,
698 wxEVT_IDLE,
699 wxEVT_UPDATE_UI,
700
701 /* Generic command events */
702 // Note: a click is a higher-level event
703 // than button down/up
704 wxEVT_COMMAND_LEFT_CLICK,
705 wxEVT_COMMAND_LEFT_DCLICK,
706 wxEVT_COMMAND_RIGHT_CLICK,
707 wxEVT_COMMAND_RIGHT_DCLICK,
708 wxEVT_COMMAND_SET_FOCUS,
709 wxEVT_COMMAND_KILL_FOCUS,
710 wxEVT_COMMAND_ENTER,
711
712 /* Tree control event types */
713 wxEVT_COMMAND_TREE_BEGIN_DRAG,
714 wxEVT_COMMAND_TREE_BEGIN_RDRAG,
715 wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT,
716 wxEVT_COMMAND_TREE_END_LABEL_EDIT,
717 wxEVT_COMMAND_TREE_DELETE_ITEM,
718 wxEVT_COMMAND_TREE_GET_INFO,
719 wxEVT_COMMAND_TREE_SET_INFO,
720 wxEVT_COMMAND_TREE_ITEM_EXPANDED,
721 wxEVT_COMMAND_TREE_ITEM_EXPANDING,
722 wxEVT_COMMAND_TREE_ITEM_COLLAPSED,
723 wxEVT_COMMAND_TREE_ITEM_COLLAPSING,
724 wxEVT_COMMAND_TREE_SEL_CHANGED,
725 wxEVT_COMMAND_TREE_SEL_CHANGING,
726 wxEVT_COMMAND_TREE_KEY_DOWN,
727
728 /* List control event types */
729 wxEVT_COMMAND_LIST_BEGIN_DRAG,
730 wxEVT_COMMAND_LIST_BEGIN_RDRAG,
731 wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT,
732 wxEVT_COMMAND_LIST_END_LABEL_EDIT,
733 wxEVT_COMMAND_LIST_DELETE_ITEM,
734 wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS,
735 wxEVT_COMMAND_LIST_GET_INFO,
736 wxEVT_COMMAND_LIST_SET_INFO,
737 wxEVT_COMMAND_LIST_ITEM_SELECTED,
738 wxEVT_COMMAND_LIST_ITEM_DESELECTED,
739 wxEVT_COMMAND_LIST_KEY_DOWN,
740 wxEVT_COMMAND_LIST_INSERT_ITEM,
741 wxEVT_COMMAND_LIST_COL_CLICK,
742
743 /* Tab and notebook control event types */
744 wxEVT_COMMAND_TAB_SEL_CHANGED,
745 wxEVT_COMMAND_TAB_SEL_CHANGING,
746 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED,
747 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
748
749 };
750
751
752
753
754 /////////////////////////////////////////////////////////////////////////////
755 //
756 // $Log$
757 // Revision 1.11 1999/02/20 09:02:54 RD
758 // Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
759 // window handle. If you can get the window handle into the python code,
760 // it should just work... More news on this later.
761 //
762 // Added wxImageList, wxToolTip.
763 //
764 // Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
765 // wxRegConfig class.
766 //
767 // As usual, some bug fixes, tweaks, etc.
768 //
769 // Revision 1.10 1999/01/30 07:30:08 RD
770 //
771 // Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
772 //
773 // Various cleanup, tweaks, minor additions, etc. to maintain
774 // compatibility with the current wxWindows.
775 //
776 // Revision 1.9 1998/12/15 20:41:13 RD
777 // Changed the import semantics from "from wxPython import *" to "from
778 // wxPython.wx import *" This is for people who are worried about
779 // namespace pollution, they can use "from wxPython import wx" and then
780 // prefix all the wxPython identifiers with "wx."
781 //
782 // Added wxTaskbarIcon for wxMSW.
783 //
784 // Made the events work for wxGrid.
785 //
786 // Added wxConfig.
787 //
788 // Added wxMiniFrame for wxGTK, (untested.)
789 //
790 // Changed many of the args and return values that were pointers to gdi
791 // objects to references to reflect changes in the wxWindows API.
792 //
793 // Other assorted fixes and additions.
794 //
795 // Revision 1.8 1998/11/15 23:03:42 RD
796 // Removing some ifdef's for wxGTK
797 //
798 // Revision 1.7 1998/11/11 03:12:24 RD
799 //
800 // Additions for wxTreeCtrl
801 //
802 // Revision 1.6 1998/10/20 06:43:53 RD
803 // New wxTreeCtrl wrappers (untested)
804 // some changes in helpers
805 // etc.
806 //
807 // Revision 1.5 1998/10/02 06:40:32 RD
808 //
809 // Version 0.4 of wxPython for MSW.
810 //
811 // Revision 1.4 1998/08/18 19:48:11 RD
812 // more wxGTK compatibility things.
813 //
814 // It builds now but there are serious runtime problems...
815 //
816 // Revision 1.3 1998/08/14 23:36:33 RD
817 // Beginings of wxGTK compatibility
818 //
819 // Revision 1.2 1998/08/14 03:16:35 RD
820 // removed some definitions that got removed from defs.h
821 //
822 // Revision 1.1 1998/08/09 08:25:49 RD
823 // Initial version
824 //
825 //