+
+class wxSplitterEvent : public wxCommandEvent {
+public:
+ int GetSashPosition();
+ int GetX();
+ int GetY();
+ wxWindow* GetWindowBeingRemoved();
+ void SetSashPosition(int pos);
+}
+
+
+
+
+class wxSplitterWindow : public wxWindow {
+public:
+ wxSplitterWindow(wxWindow* parent, wxWindowID id,
+ const wxPoint& point = wxPyDefaultPosition,
+ const wxSize& size = wxPyDefaultSize,
+ long style=wxSP_3D|wxCLIP_CHILDREN,
+ char* name = "splitterWindow");
+
+ %pragma(python) addtomethod = "__init__:wx._StdWindowCallbacks(self)"
+
+ int GetBorderSize();
+ int GetMinimumPaneSize();
+ int GetSashPosition();
+ int GetSashSize();
+ int GetSplitMode();
+ wxWindow* GetWindow1();
+ wxWindow* GetWindow2();
+ void Initialize(wxWindow* window);
+ bool IsSplit();
+
+
+ void SetBorderSize(int width);
+ void SetSashPosition(int position, int redraw = TRUE);
+ void SetSashSize(int width);
+ void SetMinimumPaneSize(int paneSize);
+ void SetSplitMode(int mode);
+ bool SplitHorizontally(wxWindow* window1, wxWindow* window2, int sashPosition = 0);
+ bool SplitVertically(wxWindow* window1, wxWindow* window2, int sashPosition = 0);
+ bool Unsplit(wxWindow* toRemove = NULL);
+};
+
+//---------------------------------------------------------------------------
+
+#ifdef __WXMSW__
+
+enum {
+ wxEVT_TASKBAR_MOVE,
+ wxEVT_TASKBAR_LEFT_DOWN,
+ wxEVT_TASKBAR_LEFT_UP,
+ wxEVT_TASKBAR_RIGHT_DOWN,
+ wxEVT_TASKBAR_RIGHT_UP,
+ wxEVT_TASKBAR_LEFT_DCLICK,
+ wxEVT_TASKBAR_RIGHT_DCLICK
+};
+
+
+class wxTaskBarIcon : public wxEvtHandler {
+public:
+ wxTaskBarIcon();
+ ~wxTaskBarIcon();
+
+ %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnMouseMove', wxEVT_TASKBAR_MOVE)"
+ %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnLButtonDown', wxEVT_TASKBAR_LEFT_DOWN)"
+ %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnLButtonUp', wxEVT_TASKBAR_LEFT_UP)"
+ %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnRButtonDown', wxEVT_TASKBAR_RIGHT_DOWN)"
+ %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnRButtonUp', wxEVT_TASKBAR_RIGHT_UP)"
+ %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnLButtonDClick',wxEVT_TASKBAR_LEFT_DCLICK)"
+ %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnRButtonDClick',wxEVT_TASKBAR_RIGHT_DCLICK)"
+
+ bool SetIcon(const wxIcon& icon, const char* tooltip = "");
+ bool RemoveIcon(void);
+ bool PopupMenu(wxMenu *menu);
+
+};
+#endif
+
+//---------------------------------------------------------------------------