]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/events.i
Put a panel under the colored windows so wxGTK's notebook doesn't
[wxWidgets.git] / wxPython / src / events.i
index 5d2bd07da5272c9765b9f43fd9078791b0889350..598316933591f056df664ef5fbb6bb9da3573496 100644 (file)
@@ -202,6 +202,21 @@ public:
 
 //---------------------------------------------------------------------------
 
+class wxSetCursorEvent : public wxEvent
+{
+public:
+    wxSetCursorEvent(wxCoord x = 0, wxCoord y = 0);
+
+    wxCoord GetX() const;
+    wxCoord GetY() const;
+
+    void SetCursor(const wxCursor& cursor);
+    const wxCursor& GetCursor() const;
+    bool HasCursor() const;
+};
+
+//---------------------------------------------------------------------------
+
 class wxKeyEvent: public wxEvent {
 public:
     wxKeyEvent(int keyEventType);
@@ -496,6 +511,18 @@ public:
 
 //---------------------------------------------------------------------------
 
+class wxContextMenuEvent : public wxCommandEvent
+{
+public:
+    wxContextMenuEvent(wxEventType type = wxEVT_NULL,
+                       wxWindowID id = 0,
+                       const wxPoint& pt = wxDefaultPosition);
+    const wxPoint& GetPosition();
+    void SetPosition(const wxPoint& pos);
+};
+
+//----------------------------------------------------------------------
+
 class  wxTimerEvent : public wxEvent
 {
 public: