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