class wxGrid : public wxPanel {
public:
wxGrid(wxWindow* parent, wxWindowID id,
- const wxPoint& pos=wxPyDefaultPosition,
- const wxSize& size=wxPyDefaultSize,
+ const wxPoint& pos=wxDefaultPosition,
+ const wxSize& size=wxDefaultSize,
long style=0,
char* name="grid");
//---------------------------------------------------------------------------
+enum {
+ /* notebook control event types */
+ wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED,
+ wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING,
+};
+
+
class wxNotebookEvent : public wxNotifyEvent {
public:
int GetSelection();
public:
wxNotebook(wxWindow *parent,
wxWindowID id,
- const wxPoint& pos = wxPyDefaultPosition,
- const wxSize& size = wxPyDefaultSize,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
long style = 0,
char* name = "notebook");
//---------------------------------------------------------------------------
+enum {
+ /* splitter window events */
+ wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING,
+ wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED,
+ wxEVT_COMMAND_SPLITTER_UNSPLIT,
+ wxEVT_COMMAND_SPLITTER_DOUBLECLICKED,
+};
+
+
enum
{
wxSPLIT_HORIZONTAL,
wxSPLIT_DRAG_NONE,
wxSPLIT_DRAG_DRAGGING,
wxSPLIT_DRAG_LEFT_DOWN
-
};
class wxSplitterWindow : public wxWindow {
public:
wxSplitterWindow(wxWindow* parent, wxWindowID id,
- const wxPoint& point = wxPyDefaultPosition,
- const wxSize& size = wxPyDefaultSize,
+ const wxPoint& point = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
long style=wxSP_3D|wxCLIP_CHILDREN,
char* name = "splitterWindow");