X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf694132f1c28509a9f84377ce8d374bae4177ad..10534c0bb1fe8716745ff51fea4bf42d4a6fa9f8:/utils/wxPython/src/_defs.i diff --git a/utils/wxPython/src/_defs.i b/utils/wxPython/src/_defs.i index cadfc92b56..115cbbdee2 100644 --- a/utils/wxPython/src/_defs.i +++ b/utils/wxPython/src/_defs.i @@ -109,6 +109,7 @@ class wxSashWindow; class wxScreenDC; class wxScrollBar; class wxScrollEvent; +class wxScrollWinEvent; class wxScrolledWindow; class wxShowEvent; class wxSingleChoiceDialog; @@ -151,7 +152,8 @@ typedef short int WXTYPE; typedef int wxWindowID; typedef unsigned int uint; typedef signed int EBool; - +typedef unsigned int size_t +typedef int wxPrintQuality; //--------------------------------------------------------------------------- @@ -180,10 +182,14 @@ enum { wxNO_3D, //wxOVERRIDE_KEY_TRANSLATIONS, wxTAB_TRAVERSAL, + wxWANTS_CHARS, wxHORIZONTAL, wxVERTICAL, wxBOTH, wxCENTER_FRAME, + wxCENTRE_ON_SCREEN, + wxCENTER_ON_SCREEN, + wxSTAY_ON_TOP, wxICONIZE, wxMINIMIZE, @@ -202,6 +208,13 @@ enum { wxDEFAULT_DIALOG_STYLE, wxFRAME_TOOL_WINDOW, + wxFRAME_FLOAT_ON_PARENT, + wxED_CLIENT_MARGIN, + wxED_BUTTONS_BOTTOM, + wxED_BUTTONS_RIGHT, + wxED_STATIC_LINE, + wxEXT_DIALOG_STYLE, + wxCLIP_CHILDREN, wxRETAINED, @@ -229,6 +242,7 @@ enum { wxTE_PROCESS_ENTER, wxTE_PASSWORD, wxTE_READONLY, + wxTE_RICH, wxTE_MULTILINE, wxCB_SIMPLE, wxCB_DROPDOWN, @@ -242,6 +256,7 @@ enum { wxGA_PROGRESSBAR, wxGA_HORIZONTAL, wxGA_VERTICAL, + wxGA_SMOOTH, wxSL_HORIZONTAL, wxSL_VERTICAL, wxSL_AUTOTICKS, @@ -260,6 +275,9 @@ enum { wxTR_HAS_BUTTONS, wxTR_EDIT_LABELS, wxTR_LINES_AT_ROOT, + wxTR_MULTIPLE, + wxTR_SINGLE, + wxTR_HAS_VARIABLE_ROW_HEIGHT, wxLC_ICON, wxLC_SMALL_ICON, wxLC_LIST, @@ -297,6 +315,8 @@ enum { wxCANCEL, wxYES, wxNO, + wxNO_DEFAULT, + wxYES_DEFAULT, wxICON_EXCLAMATION, wxICON_HAND, wxICON_QUESTION, @@ -304,6 +324,16 @@ enum { wxICON_STOP, wxICON_ASTERISK, wxICON_MASK, + wxICON_WARNING, + wxICON_ERROR, + + wxFORWARD, + wxBACKWARD, + wxRESET, + wxHELP, + wxMORE, + wxSETUP, + wxCENTRE, wxCENTER, wxSIZE_AUTO_WIDTH, @@ -321,6 +351,10 @@ enum { #endif wxPORTRAIT, wxLANDSCAPE, + wxPRINT_QUALITY_HIGH, + wxPRINT_QUALITY_MEDIUM, + wxPRINT_QUALITY_LOW, + wxPRINT_QUALITY_DRAFT, wxID_OPEN, wxID_CLOSE, wxID_NEW, @@ -359,6 +393,7 @@ enum { wxID_YES, wxID_NO, wxID_STATIC, + wxBITMAP_TYPE_BMP, wxBITMAP_TYPE_BMP_RESOURCE, wxBITMAP_TYPE_ICO, @@ -387,6 +422,45 @@ enum { wxACCEL_ALT, wxACCEL_CTRL, wxACCEL_SHIFT, + + wxPD_AUTO_HIDE, + wxPD_APP_MODAL, + wxPD_CAN_ABORT, + wxPD_ELAPSED_TIME, + wxPD_ESTIMATED_TIME, + wxPD_REMAINING_TIME, + + wxMENU_TEAROFF, + wxMB_DOCKABLE, + wxNO_FULL_REPAINT_ON_RESIZE, + + wxLEFT, + wxRIGHT, + wxUP, + wxDOWN, + wxALL, + wxTOP, + wxBOTTOM, + + wxNORTH, + wxSOUTH, + wxEAST, + wxWEST, + + wxSTRETCH_NOT, + wxSHRINK, + wxGROW, + wxEXPAND, + + wxNB_FIXEDWIDTH, + + wxLI_HORIZONTAL, + wxLI_VERTICAL, + + + wxHW_SCROLLBAR_NEVER, + wxHW_SCROLLBAR_AUTO, + }; @@ -647,6 +721,12 @@ typedef enum { } wxPaperSize ; +typedef enum { + wxDUPLEX_SIMPLEX, // Non-duplex + wxDUPLEX_HORIZONTAL, + wxDUPLEX_VERTICAL +} wxDuplexMode; + #define FALSE 0 @@ -720,6 +800,9 @@ enum wxEventType { /* Character input event type */ wxEVT_CHAR, + wxEVT_KEY_DOWN, + wxEVT_KEY_UP, + wxEVT_CHAR_HOOK, /* * Scrollbar event identifiers @@ -732,6 +815,17 @@ enum wxEventType { wxEVT_SCROLL_PAGEDOWN, wxEVT_SCROLL_THUMBTRACK, + /* + * Scrolled Window + */ + wxEVT_SCROLLWIN_TOP, + wxEVT_SCROLLWIN_BOTTOM, + wxEVT_SCROLLWIN_LINEUP, + wxEVT_SCROLLWIN_LINEDOWN, + wxEVT_SCROLLWIN_PAGEUP, + wxEVT_SCROLLWIN_PAGEDOWN, + wxEVT_SCROLLWIN_THUMBTRACK, + wxEVT_SIZE = wxEVT_FIRST + 200, wxEVT_MOVE, wxEVT_CLOSE_WINDOW, @@ -739,8 +833,6 @@ enum wxEventType { wxEVT_QUERY_END_SESSION, wxEVT_ACTIVATE_APP, wxEVT_POWER, - wxEVT_CHAR_HOOK, - wxEVT_KEY_UP, wxEVT_ACTIVATE, wxEVT_CREATE, wxEVT_DESTROY, @@ -773,6 +865,7 @@ enum wxEventType { wxEVT_IDLE, wxEVT_UPDATE_UI, + /* Generic command events */ // Note: a click is a higher-level event // than button down/up @@ -814,109 +907,23 @@ enum wxEventType { wxEVT_COMMAND_LIST_KEY_DOWN, wxEVT_COMMAND_LIST_INSERT_ITEM, wxEVT_COMMAND_LIST_COL_CLICK, + wxEVT_COMMAND_LIST_ITEM_ACTIVATED, /* Tab and notebook control event types */ wxEVT_COMMAND_TAB_SEL_CHANGED, wxEVT_COMMAND_TAB_SEL_CHANGING, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, - wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING + wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, + + /* splitter window */ + wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, + wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, + wxEVT_COMMAND_SPLITTER_UNSPLIT, + wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, }; -///////////////////////////////////////////////////////////////////////////// -// -// $Log$ -// Revision 1.13 1999/04/30 03:29:18 RD -// wxPython 2.0b9, first phase (win32) -// Added gobs of stuff, see wxPython/README.txt for details -// -// Revision 1.12.4.2 1999/03/28 06:35:01 RD -// -// wxPython 2.0b8 -// Python thread support -// various minor additions -// various minor fixes -// -// Revision 1.12.4.1 1999/03/27 23:29:13 RD -// -// wxPython 2.0b8 -// Python thread support -// various minor additions -// various minor fixes -// -// Revision 1.12 1999/02/27 04:21:58 RD -// -// Added missing wxRA_SPECIFY_ROWS, wxRA_SPECIFY_COLS -// -// Revision 1.11 1999/02/20 09:02:54 RD -// Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a -// window handle. If you can get the window handle into the python code, -// it should just work... More news on this later. -// -// Added wxImageList, wxToolTip. -// -// Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the -// wxRegConfig class. -// -// As usual, some bug fixes, tweaks, etc. -// -// Revision 1.10 1999/01/30 07:30:08 RD -// -// Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc. -// -// Various cleanup, tweaks, minor additions, etc. to maintain -// compatibility with the current wxWindows. -// -// Revision 1.9 1998/12/15 20:41:13 RD -// Changed the import semantics from "from wxPython import *" to "from -// wxPython.wx import *" This is for people who are worried about -// namespace pollution, they can use "from wxPython import wx" and then -// prefix all the wxPython identifiers with "wx." -// -// Added wxTaskbarIcon for wxMSW. -// -// Made the events work for wxGrid. -// -// Added wxConfig. -// -// Added wxMiniFrame for wxGTK, (untested.) -// -// Changed many of the args and return values that were pointers to gdi -// objects to references to reflect changes in the wxWindows API. -// -// Other assorted fixes and additions. -// -// Revision 1.8 1998/11/15 23:03:42 RD -// Removing some ifdef's for wxGTK -// -// Revision 1.7 1998/11/11 03:12:24 RD -// -// Additions for wxTreeCtrl -// -// Revision 1.6 1998/10/20 06:43:53 RD -// New wxTreeCtrl wrappers (untested) -// some changes in helpers -// etc. -// -// Revision 1.5 1998/10/02 06:40:32 RD -// -// Version 0.4 of wxPython for MSW. -// -// Revision 1.4 1998/08/18 19:48:11 RD -// more wxGTK compatibility things. -// -// It builds now but there are serious runtime problems... -// -// Revision 1.3 1998/08/14 23:36:33 RD -// Beginings of wxGTK compatibility -// -// Revision 1.2 1998/08/14 03:16:35 RD -// removed some definitions that got removed from defs.h -// -// Revision 1.1 1998/08/09 08:25:49 RD -// Initial version -// -// +//----------------------------------------------------------------------