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