X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb0054cda81e7a6a6e1f33f4b47e46f529110f14..b854b7b82e033d1dbd9d300402df50ec5e1e8b74:/utils/wxPython/src/_defs.i diff --git a/utils/wxPython/src/_defs.i b/utils/wxPython/src/_defs.i index 0d53a38dac..8209f1a2a9 100644 --- a/utils/wxPython/src/_defs.i +++ b/utils/wxPython/src/_defs.i @@ -23,6 +23,7 @@ class wxBitmap; class wxBrush; class wxButton; class wxCalculateLayoutEvent; +class wxCaret; class wxCheckBox; class wxCheckListBox; class wxChoice; @@ -109,6 +110,7 @@ class wxSashWindow; class wxScreenDC; class wxScrollBar; class wxScrollEvent; +class wxScrollWinEvent; class wxScrolledWindow; class wxShowEvent; class wxSingleChoiceDialog; @@ -137,6 +139,9 @@ class wxTreeItemId; class wxUpdateUIEvent; class wxWindowDC; class wxWindow; +class wxSizer; +class wxBoxSizer; +class wxStaticBoxSizer; class wxPyApp; class wxPyMenu; @@ -153,6 +158,8 @@ typedef unsigned int uint; typedef signed int EBool; typedef unsigned int size_t typedef int wxPrintQuality; +typedef int wxCoord; + //--------------------------------------------------------------------------- @@ -181,10 +188,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, @@ -204,6 +215,11 @@ enum { wxFRAME_TOOL_WINDOW, wxFRAME_FLOAT_ON_PARENT, + wxED_CLIENT_MARGIN, + wxED_BUTTONS_BOTTOM, + wxED_BUTTONS_RIGHT, + wxED_STATIC_LINE, + wxEXT_DIALOG_STYLE, wxCLIP_CHILDREN, @@ -213,12 +229,20 @@ enum { wxTB_HORIZONTAL, wxTB_VERTICAL, wxTB_FLAT, + wxTB_DOCKABLE, wxCOLOURED, wxFIXED_LENGTH, wxALIGN_LEFT, + wxALIGN_CENTER_HORIZONTAL, + wxALIGN_CENTRE_HORIZONTAL, + wxALIGN_RIGHT, + wxALIGN_BOTTOM, + wxALIGN_CENTER_VERTICAL, + wxALIGN_CENTRE_VERTICAL, + wxALIGN_TOP, wxALIGN_CENTER, wxALIGN_CENTRE, - wxALIGN_RIGHT, + wxSHAPED, wxLB_NEEDED_SB, wxLB_ALWAYS_SB, wxLB_SORT, @@ -232,7 +256,10 @@ enum { wxTE_PROCESS_ENTER, wxTE_PASSWORD, wxTE_READONLY, + wxTE_RICH, wxTE_MULTILINE, + wxTE_AUTO_SCROLL, + wxTE_NO_VSCROLL, wxCB_SIMPLE, wxCB_DROPDOWN, wxCB_SORT, @@ -259,11 +286,15 @@ enum { wxSB_HORIZONTAL, wxSB_VERTICAL, wxST_SIZEGRIP, + wxST_NO_AUTORESIZE, wxBU_AUTODRAW, wxBU_NOAUTODRAW, 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, @@ -288,6 +319,8 @@ enum { wxSP_NOBORDER, wxSP_3D, wxSP_BORDER, + wxSP_LIVE_UPDATE, + wxSP_PERMIT_UNSPLIT, wxFLOOD_SURFACE, wxFLOOD_BORDER, wxODDEVEN_RULE, @@ -301,6 +334,8 @@ enum { wxCANCEL, wxYES, wxNO, + wxNO_DEFAULT, + wxYES_DEFAULT, wxICON_EXCLAMATION, wxICON_HAND, wxICON_QUESTION, @@ -308,6 +343,16 @@ enum { wxICON_STOP, wxICON_ASTERISK, wxICON_MASK, + wxICON_WARNING, + wxICON_ERROR, + + wxFORWARD, + wxBACKWARD, + wxRESET, + wxHELP, + wxMORE, + wxSETUP, + wxCENTRE, wxCENTER, wxSIZE_AUTO_WIDTH, @@ -315,14 +360,6 @@ enum { wxSIZE_AUTO, wxSIZE_USE_EXISTING, wxSIZE_ALLOW_MINUS_ONE, -#ifndef __WXGTK__ - wxDF_TEXT, - wxDF_BITMAP, - wxDF_METAFILE, - wxDF_DIB, - wxDF_OEMTEXT, - wxDF_FILENAME, -#endif wxPORTRAIT, wxLANDSCAPE, wxPRINT_QUALITY_HIGH, @@ -367,6 +404,7 @@ enum { wxID_YES, wxID_NO, wxID_STATIC, + wxBITMAP_TYPE_BMP, wxBITMAP_TYPE_BMP_RESOURCE, wxBITMAP_TYPE_ICO, @@ -386,11 +424,13 @@ enum { wxBITMAP_TYPE_ANY, wxBITMAP_TYPE_RESOURCE, wxBITMAP_TYPE_JPEG, + wxBITMAP_TYPE_PCX, wxOPEN, wxSAVE, wxHIDE_READONLY, wxOVERWRITE_PROMPT, + wxFILE_MUST_EXIST, wxACCEL_ALT, wxACCEL_CTRL, @@ -399,8 +439,43 @@ enum { 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, + wxNB_LEFT, + wxNB_RIGHT, + wxNB_BOTTOM, + + wxLI_HORIZONTAL, + wxLI_VERTICAL, + + wxHW_SCROLLBAR_NEVER, + wxHW_SCROLLBAR_AUTO, - wxNO_DEFAULT, }; @@ -694,6 +769,7 @@ enum wxEventType { wxEVT_COMMAND_LISTBOX_SELECTED, wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, + wxEVT_COMMAND_SPINCTRL_UPDATED, wxEVT_COMMAND_TEXT_UPDATED, wxEVT_COMMAND_TEXT_ENTER, wxEVT_COMMAND_MENU_SELECTED, @@ -740,6 +816,9 @@ enum wxEventType { /* Character input event type */ wxEVT_CHAR, + wxEVT_KEY_DOWN, + wxEVT_KEY_UP, + wxEVT_CHAR_HOOK, /* * Scrollbar event identifiers @@ -770,8 +849,6 @@ enum wxEventType { wxEVT_QUERY_END_SESSION, wxEVT_ACTIVATE_APP, wxEVT_POWER, - wxEVT_CHAR_HOOK, - wxEVT_KEY_UP, wxEVT_ACTIVATE, wxEVT_CREATE, wxEVT_DESTROY, @@ -831,6 +908,9 @@ enum wxEventType { wxEVT_COMMAND_TREE_SEL_CHANGED, wxEVT_COMMAND_TREE_SEL_CHANGING, wxEVT_COMMAND_TREE_KEY_DOWN, + wxEVT_COMMAND_TREE_ITEM_ACTIVATED, + wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, + wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, /* List control event types */ wxEVT_COMMAND_LIST_BEGIN_DRAG, @@ -847,6 +927,9 @@ enum wxEventType { wxEVT_COMMAND_LIST_INSERT_ITEM, wxEVT_COMMAND_LIST_COL_CLICK, wxEVT_COMMAND_LIST_ITEM_ACTIVATED, + wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, + wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, + /* Tab and notebook control event types */ wxEVT_COMMAND_TAB_SEL_CHANGED, @@ -860,6 +943,8 @@ enum wxEventType { wxEVT_COMMAND_SPLITTER_UNSPLIT, wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, + wxEVT_NAVIGATION_KEY, + };