//---------------------------------------------------------------------------
// Forward declares...
-class wxPyApp;
-class wxEvtHandler;
-class wxWindow;
-class wxFrame;
-class wxMiniFrame;
-class wxPanel;
-class wxDialog;
-class wxMenu;
-class wxPyMenu;
-class wxMenuBar;
-class wxMenuItem;
-class wxEvent;
-class wxSizeEvent;
+class wxAcceleratorEntry;
+class wxAcceleratorTable;
+class wxActivateEvent;
+class wxBitmapButton;
+class wxBitmap;
+class wxBrush;
+class wxButton;
+class wxCalculateLayoutEvent;
+class wxCheckBox;
+class wxCheckListBox;
+class wxChoice;
+class wxClientDC;
class wxCloseEvent;
+class wxColourData;
+class wxColourDialog;
+class wxColour;
+class wxComboBox;
class wxCommandEvent;
-class wxScrollEvent;
-class wxMouseEvent;
-class wxKeyEvent;
-class wxMoveEvent;
-class wxPaintEvent;
+class wxConfig;
+class wxControl;
+class wxCursor;
+class wxDC;
+class wxDialog;
+class wxDirDialog;
+class wxDropFilesEvent;
class wxEraseEvent;
+class wxEvent;
+class wxEvtHandler;
+class wxFileDialog;
class wxFocusEvent;
-class wxActivateEvent;
-class wxInitDialogEvent;
-class wxMenuEvent;
-class wxShowEvent;
+class wxFontData;
+class wxFontDialog;
+class wxFont;
+class wxFrame;
+class wxGauge;
+class wxGridCell;
+class wxGridEvent;
+class wxGrid;
class wxIconizeEvent;
-class wxMaximizeEvent;
-class wxJoystickEvent;
-class wxDropFilesEvent;
+class wxIcon;
class wxIdleEvent;
-class wxUpdateUIEvent;
-class wxSysColourChangedEvent;
-class wxSize;
-class wxRealPoint;
-class wxPoint;
-class wxRect;
-class wxBitmap;
+class wxImageList;
+class wxIndividualLayoutConstraint;
+class wxInitDialogEvent;
+class wxJoystickEvent;
+class wxKeyEvent;
+class wxLayoutAlgorithm;
+class wxLayoutConstraints;
+class wxListBox;
+class wxListCtrl;
+class wxListEvent;
+class wxListItem;
+class wxMDIChildFrame;
+class wxMDIClientWindow;
+class wxMDIParentFrame;
class wxMask;
-class wxIcon;
-class wxCursor;
-class wxFont;
-class wxColour;
-class wxPen;
-class wxBrush;
-class wxDC;
+class wxMaximizeEvent;
class wxMemoryDC;
-class wxScreenDC;
-class wxClientDC;
+class wxMenuBar;
+class wxMenuEvent;
+class wxMenuItem;
+class wxMenu;
+class wxMessageDialog;
+class wxMetaFileDC;
+class wxMiniFrame;
+class wxMouseEvent;
+class wxMoveEvent;
+class wxNotebookEvent;
+class wxNotebook;
+class wxPageSetupData;
+class wxPageSetupDialog;
class wxPaintDC;
+class wxPaintEvent;
+class wxPalette;
+class wxPanel;
+class wxPen;
+class wxPoint;
class wxPostScriptDC;
+class wxPrintData;
+class wxPrintDialog;
class wxPrinterDC;
-class wxMetaFileDC;
-class wxMDIParentFrame;
-class wxMDIChildFrame;
-class wxMDIClientWindow;
-class wxControl;
-class wxButton;
-class wxBitmapButton;
-class wxCheckBox;
-class wxChoice;
-class wxComboBox;
-class wxGauge;
-class wxStaticBox;
-class wxStaticText;
-class wxListBox;
-class wxTextCtrl;
-class wxScrollBar;
-class wxSpinButton;
-class wxStaticBitmap;
+class wxQueryLayoutInfoEvent;
class wxRadioBox;
class wxRadioButton;
+class wxRealPoint;
+class wxRect;
+class wxRegionIterator;
+class wxRegion;
+class wxSashEvent;
+class wxSashLayoutWindow;
+class wxSashWindow;
+class wxScreenDC;
+class wxScrollBar;
+class wxScrollEvent;
+class wxScrolledWindow;
+class wxShowEvent;
+class wxSingleChoiceDialog;
+class wxSizeEvent;
+class wxSize;
class wxSlider;
+class wxSpinButton;
+class wxSpinEvent;
+class wxSplitterWindow;
+class wxStaticBitmap;
+class wxStaticBox;
+class wxStaticText;
+class wxStatusBar;
+class wxSysColourChangedEvent;
+class wxTaskBarIcon;
+class wxTextCtrl;
+class wxTextEntryDialog;
+class wxTimer;
+class wxToolBarTool;
+class wxToolBar;
+class wxToolTip;
+class wxTreeCtrl;
+class wxTreeEvent;
+class wxTreeItemData;
+class wxTreeItemId;
+class wxUpdateUIEvent;
+class wxWindowDC;
+class wxWindow;
+class wxPyApp;
+class wxPyMenu;
class wxPyTimer;
-class wxIndividualLayoutConstraint;
-class wxLayoutConstraints;
+
//---------------------------------------------------------------------------
wxMINOR_VERSION,
wxRELEASE_NUMBER,
- UNKNOWN,
- NOT_FOUND,
+ wxNOT_FOUND,
wxVSCROLL,
wxHSCROLL,
wxDIALOG_MODELESS,
wxDEFAULT_FRAME_STYLE,
wxDEFAULT_DIALOG_STYLE,
+
+ wxFRAME_TOOL_WINDOW,
+ wxCLIP_CHILDREN,
+
wxRETAINED,
wxBACKINGSTORE,
wxTB_3DBUTTONS,
wxTB_HORIZONTAL,
wxTB_VERTICAL,
+ wxTB_FLAT,
wxCOLOURED,
wxFIXED_LENGTH,
wxALIGN_LEFT,
wxALIGN_CENTER,
wxALIGN_CENTRE,
wxALIGN_RIGHT,
- wxSB_MASK,
- wxNEEDED_SB,
- wxALWAYS_SB,
wxLB_NEEDED_SB,
wxLB_ALWAYS_SB,
wxLB_SORT,
wxTE_PASSWORD,
wxTE_READONLY,
wxTE_MULTILINE,
- wxREADONLY,
- wxEDITABLE,
wxCB_SIMPLE,
wxCB_DROPDOWN,
wxCB_SORT,
wxBU_NOAUTODRAW,
wxTR_HAS_BUTTONS,
wxTR_EDIT_LABELS,
+ wxTR_LINES_AT_ROOT,
wxLC_ICON,
wxLC_SMALL_ICON,
wxLC_LIST,
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,
wxID_OPEN,
wxACCEL_ALT,
wxACCEL_CTRL,
wxACCEL_SHIFT,
-
};
};
typedef enum {
+ wxCURSOR_NONE = 0,
wxCURSOR_ARROW = 1,
wxCURSOR_BULLSEYE,
wxCURSOR_CHAR,
wxCURSOR_WAIT,
wxCURSOR_WATCH,
wxCURSOR_BLANK
-//#ifdef __X__
-// /* Not yet implemented for Windows */
-// , wxCURSOR_CROSS_REVERSE,
-// wxCURSOR_DOUBLE_ARROW,
-// wxCURSOR_BASED_ARROW_UP,
-// wxCURSOR_BASED_ARROW_DOWN
-//#endif
+// #ifndef __WXMSW__
+// /* Not yet implemented for Windows */
+// , wxCURSOR_CROSS_REVERSE,
+// wxCURSOR_DOUBLE_ARROW,
+// wxCURSOR_BASED_ARROW_UP,
+// wxCURSOR_BASED_ARROW_DOWN
+// #endif
} _standard_cursors_t;
#define TRUE 1
#define true 1
+const char* wxVERSION_STRING;
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
wxEVT_COMMAND_TREE_SET_INFO,
wxEVT_COMMAND_TREE_ITEM_EXPANDED,
wxEVT_COMMAND_TREE_ITEM_EXPANDING,
+ wxEVT_COMMAND_TREE_ITEM_COLLAPSED,
+ wxEVT_COMMAND_TREE_ITEM_COLLAPSING,
wxEVT_COMMAND_TREE_SEL_CHANGED,
wxEVT_COMMAND_TREE_SEL_CHANGING,
wxEVT_COMMAND_TREE_KEY_DOWN,
wxEVT_COMMAND_TAB_SEL_CHANGING,
wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED,
wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
+
};
/////////////////////////////////////////////////////////////////////////////
//
// $Log$
+// 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
//