class wxScreenDC;
class wxScrollBar;
class wxScrollEvent;
+class wxScrollWinEvent;
class wxScrolledWindow;
class wxShowEvent;
class wxSingleChoiceDialog;
class wxUpdateUIEvent;
class wxWindowDC;
class wxWindow;
+class wxSizer;
+class wxBoxSizer;
+class wxStaticBoxSizer;
class wxPyApp;
class wxPyMenu;
typedef unsigned int uint;
typedef signed int EBool;
typedef unsigned int size_t
+typedef int wxPrintQuality;
+typedef int wxCoord;
+
//---------------------------------------------------------------------------
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,
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,
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,
wxTE_PROCESS_ENTER,
wxTE_PASSWORD,
wxTE_READONLY,
+ wxTE_RICH,
wxTE_MULTILINE,
+ wxTE_AUTO_SCROLL,
+ wxTE_NO_VSCROLL,
wxCB_SIMPLE,
wxCB_DROPDOWN,
wxCB_SORT,
wxGA_PROGRESSBAR,
wxGA_HORIZONTAL,
wxGA_VERTICAL,
+ wxGA_SMOOTH,
wxSL_HORIZONTAL,
wxSL_VERTICAL,
wxSL_AUTOTICKS,
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,
wxSP_NOBORDER,
wxSP_3D,
wxSP_BORDER,
+ wxSP_LIVE_UPDATE,
+ wxSP_PERMIT_UNSPLIT,
wxFLOOD_SURFACE,
wxFLOOD_BORDER,
wxODDEVEN_RULE,
wxCANCEL,
wxYES,
wxNO,
+ wxNO_DEFAULT,
+ wxYES_DEFAULT,
wxICON_EXCLAMATION,
wxICON_HAND,
wxICON_QUESTION,
wxICON_STOP,
wxICON_ASTERISK,
wxICON_MASK,
+ wxICON_WARNING,
+ wxICON_ERROR,
+
+ wxFORWARD,
+ wxBACKWARD,
+ wxRESET,
+ wxHELP,
+ wxMORE,
+ wxSETUP,
+
wxCENTRE,
wxCENTER,
wxSIZE_AUTO_WIDTH,
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,
+ wxPRINT_QUALITY_MEDIUM,
+ wxPRINT_QUALITY_LOW,
+ wxPRINT_QUALITY_DRAFT,
wxID_OPEN,
wxID_CLOSE,
wxID_NEW,
wxID_YES,
wxID_NO,
wxID_STATIC,
+
wxBITMAP_TYPE_BMP,
wxBITMAP_TYPE_BMP_RESOURCE,
wxBITMAP_TYPE_ICO,
wxSAVE,
wxHIDE_READONLY,
wxOVERWRITE_PROMPT,
+ wxFILE_MUST_EXIST,
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,
+ wxNB_LEFT,
+ wxNB_RIGHT,
+ wxNB_BOTTOM,
+
+ wxLI_HORIZONTAL,
+ wxLI_VERTICAL,
+
+
+ wxHW_SCROLLBAR_NEVER,
+ wxHW_SCROLLBAR_AUTO,
+
};
} wxPaperSize ;
+typedef enum {
+ wxDUPLEX_SIMPLEX, // Non-duplex
+ wxDUPLEX_HORIZONTAL,
+ wxDUPLEX_VERTICAL
+} wxDuplexMode;
+
#define FALSE 0
/* Character input event type */
wxEVT_CHAR,
+ wxEVT_KEY_DOWN,
+ wxEVT_KEY_UP,
+ wxEVT_CHAR_HOOK,
/*
* Scrollbar event identifiers
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,
wxEVT_QUERY_END_SESSION,
wxEVT_ACTIVATE_APP,
wxEVT_POWER,
- wxEVT_CHAR_HOOK,
- wxEVT_KEY_UP,
wxEVT_ACTIVATE,
wxEVT_CREATE,
wxEVT_DESTROY,
wxEVT_IDLE,
wxEVT_UPDATE_UI,
+
/* Generic command events */
// Note: a click is a higher-level event
// than button down/up
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,
wxEVT_COMMAND_LIST_KEY_DOWN,
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,
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,
+
+ wxEVT_NAVIGATION_KEY,
};
-/////////////////////////////////////////////////////////////////////////////
-//
-// $Log$
-// Revision 1.14 1999/05/02 02:06:15 RD
-// More for wxPython 2.0b9 (hopefully the last...)
-//
-// 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
-//
-//
+//----------------------------------------------------------------------