1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Definitions and stuff
9 // Copyright: (c) 1998 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
15 //---------------------------------------------------------------------------
16 // Forward declares...
40 class wxActivateEvent;
41 class wxInitDialogEvent;
45 class wxMaximizeEvent;
46 class wxJoystickEvent;
47 class wxDropFilesEvent;
49 class wxUpdateUIEvent;
50 class wxSysColourChangedEvent;
71 class wxMDIParentFrame;
72 class wxMDIChildFrame;
73 class wxMDIClientWindow;
93 class wxIndividualLayoutConstraint;
94 class wxLayoutConstraints;
96 //---------------------------------------------------------------------------
98 // some definitions for SWIG only
99 typedef unsigned char byte;
100 typedef short int WXTYPE;
101 typedef int wxWindowID;
102 typedef unsigned int uint;
103 typedef signed int EBool;
106 //---------------------------------------------------------------------------
108 // General numeric #define's and etc. Making them all enums makes SWIG use the
109 // real macro when making the Python Int
128 wxTRANSPARENT_WINDOW,
132 //wxOVERRIDE_KEY_TRANSLATIONS,
146 wxTINY_CAPTION_HORIZ,
152 wxDEFAULT_FRAME_STYLE,
153 wxDEFAULT_DIALOG_STYLE,
223 wxLC_SORT_DESCENDING,
265 wxSIZE_ALLOW_MINUS_ONE,
290 wxID_HELP_PROCEDURES,
312 wxBITMAP_TYPE_BMP_RESOURCE,
314 wxBITMAP_TYPE_ICO_RESOURCE,
316 wxBITMAP_TYPE_CUR_RESOURCE,
318 wxBITMAP_TYPE_XBM_DATA,
320 wxBITMAP_TYPE_XPM_DATA,
322 wxBITMAP_TYPE_TIF_RESOURCE,
324 wxBITMAP_TYPE_GIF_RESOURCE,
326 wxBITMAP_TYPE_PNG_RESOURCE,
328 wxBITMAP_TYPE_RESOURCE,
342 /// Standard error codes
391 wxXOR, // src XOR dst
393 wxOR_REVERSE, // src OR (NOT dst)
394 wxAND_REVERSE,// src AND (NOT dst)
396 wxAND, // src AND dst
397 wxAND_INVERT, // (NOT src) AND 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)
406 wxSRC_OR, // source _bitmap_ OR destination
407 wxSRC_AND // source _bitmap_ AND destination
410 enum _Virtual_keycodes {
429 WXK_PRIOR, // Page up
430 WXK_NEXT, // Page down
496 wxCURSOR_LEFT_BUTTON,
498 wxCURSOR_MIDDLE_BUTTON,
500 wxCURSOR_PAINT_BRUSH,
503 wxCURSOR_POINT_RIGHT,
504 wxCURSOR_QUESTION_ARROW,
505 wxCURSOR_RIGHT_BUTTON,
516 // /* Not yet implemented for Windows */
517 // , wxCURSOR_CROSS_REVERSE,
518 // wxCURSOR_DOUBLE_ARROW,
519 // wxCURSOR_BASED_ARROW_UP,
520 // wxCURSOR_BASED_ARROW_DOWN
522 } _standard_cursors_t;
531 //---------------------------------------------------------------------------
532 //---------------------------------------------------------------------------
543 wxEVT_COMMAND_BUTTON_CLICKED,
544 wxEVT_COMMAND_CHECKBOX_CLICKED,
545 wxEVT_COMMAND_CHOICE_SELECTED,
546 wxEVT_COMMAND_LISTBOX_SELECTED,
547 wxEVT_COMMAND_LISTBOX_DOUBLECLICKED,
548 wxEVT_COMMAND_CHECKLISTBOX_TOGGLED,
549 wxEVT_COMMAND_TEXT_UPDATED,
550 wxEVT_COMMAND_TEXT_ENTER,
551 wxEVT_COMMAND_MENU_SELECTED,
552 wxEVT_COMMAND_SLIDER_UPDATED,
553 wxEVT_COMMAND_RADIOBOX_SELECTED,
554 wxEVT_COMMAND_RADIOBUTTON_SELECTED,
555 // wxEVT_COMMAND_SCROLLBAR_UPDATED is now obsolete since we use wxEVT_SCROLL... events
556 wxEVT_COMMAND_SCROLLBAR_UPDATED,
557 wxEVT_COMMAND_VLBOX_SELECTED,
558 wxEVT_COMMAND_COMBOBOX_SELECTED,
559 wxEVT_COMMAND_TOOL_CLICKED,
560 wxEVT_COMMAND_TOOL_RCLICKED,
561 wxEVT_COMMAND_TOOL_ENTER,
565 /* Mouse event types */
579 // Non-client mouse events
580 wxEVT_NC_LEFT_DOWN = wxEVT_FIRST + 100,
582 wxEVT_NC_MIDDLE_DOWN,
587 wxEVT_NC_ENTER_WINDOW,
588 wxEVT_NC_LEAVE_WINDOW,
589 wxEVT_NC_LEFT_DCLICK,
590 wxEVT_NC_MIDDLE_DCLICK,
591 wxEVT_NC_RIGHT_DCLICK,
593 /* Character input event type */
597 * Scrollbar event identifiers
602 wxEVT_SCROLL_LINEDOWN,
604 wxEVT_SCROLL_PAGEDOWN,
605 wxEVT_SCROLL_THUMBTRACK,
607 wxEVT_SIZE = wxEVT_FIRST + 200,
611 wxEVT_QUERY_END_SESSION,
622 wxEVT_MOUSE_CAPTURE_CHANGED,
624 wxEVT_ERASE_BACKGROUND,
629 wxEVT_MENU_HIGHLIGHT,
630 wxEVT_POPUP_MENU_INIT,
632 wxEVT_SYS_COLOUR_CHANGED,
633 wxEVT_SETTING_CHANGED,
634 wxEVT_QUERY_NEW_PALETTE,
635 wxEVT_PALETTE_CHANGED,
636 wxEVT_JOY_BUTTON_DOWN,
648 /* Generic command events */
649 // Note: a click is a higher-level event
650 // than button down/up
651 wxEVT_COMMAND_LEFT_CLICK,
652 wxEVT_COMMAND_LEFT_DCLICK,
653 wxEVT_COMMAND_RIGHT_CLICK,
654 wxEVT_COMMAND_RIGHT_DCLICK,
655 wxEVT_COMMAND_SET_FOCUS,
656 wxEVT_COMMAND_KILL_FOCUS,
659 /* Tree control event types */
660 wxEVT_COMMAND_TREE_BEGIN_DRAG,
661 wxEVT_COMMAND_TREE_BEGIN_RDRAG,
662 wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT,
663 wxEVT_COMMAND_TREE_END_LABEL_EDIT,
664 wxEVT_COMMAND_TREE_DELETE_ITEM,
665 wxEVT_COMMAND_TREE_GET_INFO,
666 wxEVT_COMMAND_TREE_SET_INFO,
667 wxEVT_COMMAND_TREE_ITEM_EXPANDED,
668 wxEVT_COMMAND_TREE_ITEM_EXPANDING,
669 wxEVT_COMMAND_TREE_SEL_CHANGED,
670 wxEVT_COMMAND_TREE_SEL_CHANGING,
671 wxEVT_COMMAND_TREE_KEY_DOWN,
673 /* List control event types */
674 wxEVT_COMMAND_LIST_BEGIN_DRAG,
675 wxEVT_COMMAND_LIST_BEGIN_RDRAG,
676 wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT,
677 wxEVT_COMMAND_LIST_END_LABEL_EDIT,
678 wxEVT_COMMAND_LIST_DELETE_ITEM,
679 wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS,
680 wxEVT_COMMAND_LIST_GET_INFO,
681 wxEVT_COMMAND_LIST_SET_INFO,
682 wxEVT_COMMAND_LIST_ITEM_SELECTED,
683 wxEVT_COMMAND_LIST_ITEM_DESELECTED,
684 wxEVT_COMMAND_LIST_KEY_DOWN,
685 wxEVT_COMMAND_LIST_INSERT_ITEM,
686 wxEVT_COMMAND_LIST_COL_CLICK,
688 /* Tab and notebook control event types */
689 wxEVT_COMMAND_TAB_SEL_CHANGED,
690 wxEVT_COMMAND_TAB_SEL_CHANGING,
691 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED,
692 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
698 /////////////////////////////////////////////////////////////////////////////
701 // Revision 1.1 1998/08/09 08:25:49 RD