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,
218 wxLC_SORT_DESCENDING,
260 wxSIZE_ALLOW_MINUS_ONE,
285 wxID_HELP_PROCEDURES,
307 wxBITMAP_TYPE_BMP_RESOURCE,
309 wxBITMAP_TYPE_ICO_RESOURCE,
311 wxBITMAP_TYPE_CUR_RESOURCE,
313 wxBITMAP_TYPE_XBM_DATA,
315 wxBITMAP_TYPE_XPM_DATA,
317 wxBITMAP_TYPE_TIF_RESOURCE,
319 wxBITMAP_TYPE_GIF_RESOURCE,
321 wxBITMAP_TYPE_PNG_RESOURCE,
323 wxBITMAP_TYPE_RESOURCE,
339 /// Standard error codes
388 wxXOR, // src XOR dst
390 wxOR_REVERSE, // src OR (NOT dst)
391 wxAND_REVERSE,// src AND (NOT dst)
393 wxAND, // src AND dst
394 wxAND_INVERT, // (NOT src) AND dst
396 wxNOR, // (NOT src) AND (NOT dst)
397 wxEQUIV, // (NOT src) XOR dst
398 wxSRC_INVERT, // (NOT src)
399 wxOR_INVERT, // (NOT src) OR dst
400 wxNAND, // (NOT src) OR (NOT dst)
403 wxSRC_OR, // source _bitmap_ OR destination
404 wxSRC_AND // source _bitmap_ AND destination
407 enum _Virtual_keycodes {
426 WXK_PRIOR, // Page up
427 WXK_NEXT, // Page down
493 wxCURSOR_LEFT_BUTTON,
495 wxCURSOR_MIDDLE_BUTTON,
497 wxCURSOR_PAINT_BRUSH,
500 wxCURSOR_POINT_RIGHT,
501 wxCURSOR_QUESTION_ARROW,
502 wxCURSOR_RIGHT_BUTTON,
513 // /* Not yet implemented for Windows */
514 // , wxCURSOR_CROSS_REVERSE,
515 // wxCURSOR_DOUBLE_ARROW,
516 // wxCURSOR_BASED_ARROW_UP,
517 // wxCURSOR_BASED_ARROW_DOWN
519 } _standard_cursors_t;
528 //---------------------------------------------------------------------------
529 //---------------------------------------------------------------------------
540 wxEVT_COMMAND_BUTTON_CLICKED,
541 wxEVT_COMMAND_CHECKBOX_CLICKED,
542 wxEVT_COMMAND_CHOICE_SELECTED,
543 wxEVT_COMMAND_LISTBOX_SELECTED,
544 wxEVT_COMMAND_LISTBOX_DOUBLECLICKED,
545 wxEVT_COMMAND_CHECKLISTBOX_TOGGLED,
546 wxEVT_COMMAND_TEXT_UPDATED,
547 wxEVT_COMMAND_TEXT_ENTER,
548 wxEVT_COMMAND_MENU_SELECTED,
549 wxEVT_COMMAND_SLIDER_UPDATED,
550 wxEVT_COMMAND_RADIOBOX_SELECTED,
551 wxEVT_COMMAND_RADIOBUTTON_SELECTED,
552 // wxEVT_COMMAND_SCROLLBAR_UPDATED is now obsolete since we use wxEVT_SCROLL... events
553 wxEVT_COMMAND_SCROLLBAR_UPDATED,
554 wxEVT_COMMAND_VLBOX_SELECTED,
555 wxEVT_COMMAND_COMBOBOX_SELECTED,
556 wxEVT_COMMAND_TOOL_CLICKED,
557 wxEVT_COMMAND_TOOL_RCLICKED,
558 wxEVT_COMMAND_TOOL_ENTER,
562 /* Mouse event types */
576 // Non-client mouse events
577 wxEVT_NC_LEFT_DOWN = wxEVT_FIRST + 100,
579 wxEVT_NC_MIDDLE_DOWN,
584 wxEVT_NC_ENTER_WINDOW,
585 wxEVT_NC_LEAVE_WINDOW,
586 wxEVT_NC_LEFT_DCLICK,
587 wxEVT_NC_MIDDLE_DCLICK,
588 wxEVT_NC_RIGHT_DCLICK,
590 /* Character input event type */
594 * Scrollbar event identifiers
599 wxEVT_SCROLL_LINEDOWN,
601 wxEVT_SCROLL_PAGEDOWN,
602 wxEVT_SCROLL_THUMBTRACK,
604 wxEVT_SIZE = wxEVT_FIRST + 200,
608 wxEVT_QUERY_END_SESSION,
619 wxEVT_MOUSE_CAPTURE_CHANGED,
621 wxEVT_ERASE_BACKGROUND,
626 wxEVT_MENU_HIGHLIGHT,
627 wxEVT_POPUP_MENU_INIT,
629 wxEVT_SYS_COLOUR_CHANGED,
630 wxEVT_SETTING_CHANGED,
631 wxEVT_QUERY_NEW_PALETTE,
632 wxEVT_PALETTE_CHANGED,
633 wxEVT_JOY_BUTTON_DOWN,
645 /* Generic command events */
646 // Note: a click is a higher-level event
647 // than button down/up
648 wxEVT_COMMAND_LEFT_CLICK,
649 wxEVT_COMMAND_LEFT_DCLICK,
650 wxEVT_COMMAND_RIGHT_CLICK,
651 wxEVT_COMMAND_RIGHT_DCLICK,
652 wxEVT_COMMAND_SET_FOCUS,
653 wxEVT_COMMAND_KILL_FOCUS,
656 /* Tree control event types */
657 wxEVT_COMMAND_TREE_BEGIN_DRAG,
658 wxEVT_COMMAND_TREE_BEGIN_RDRAG,
659 wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT,
660 wxEVT_COMMAND_TREE_END_LABEL_EDIT,
661 wxEVT_COMMAND_TREE_DELETE_ITEM,
662 wxEVT_COMMAND_TREE_GET_INFO,
663 wxEVT_COMMAND_TREE_SET_INFO,
664 wxEVT_COMMAND_TREE_ITEM_EXPANDED,
665 wxEVT_COMMAND_TREE_ITEM_EXPANDING,
666 wxEVT_COMMAND_TREE_SEL_CHANGED,
667 wxEVT_COMMAND_TREE_SEL_CHANGING,
668 wxEVT_COMMAND_TREE_KEY_DOWN,
670 /* List control event types */
671 wxEVT_COMMAND_LIST_BEGIN_DRAG,
672 wxEVT_COMMAND_LIST_BEGIN_RDRAG,
673 wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT,
674 wxEVT_COMMAND_LIST_END_LABEL_EDIT,
675 wxEVT_COMMAND_LIST_DELETE_ITEM,
676 wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS,
677 wxEVT_COMMAND_LIST_GET_INFO,
678 wxEVT_COMMAND_LIST_SET_INFO,
679 wxEVT_COMMAND_LIST_ITEM_SELECTED,
680 wxEVT_COMMAND_LIST_ITEM_DESELECTED,
681 wxEVT_COMMAND_LIST_KEY_DOWN,
682 wxEVT_COMMAND_LIST_INSERT_ITEM,
683 wxEVT_COMMAND_LIST_COL_CLICK,
685 /* Tab and notebook control event types */
686 wxEVT_COMMAND_TAB_SEL_CHANGED,
687 wxEVT_COMMAND_TAB_SEL_CHANGING,
688 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED,
689 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
695 /////////////////////////////////////////////////////////////////////////////
698 // Revision 1.3 1998/08/14 23:36:33 RD
699 // Beginings of wxGTK compatibility
701 // Revision 1.2 1998/08/14 03:16:35 RD
702 // removed some definitions that got removed from defs.h
704 // Revision 1.1 1998/08/09 08:25:49 RD