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