]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/events.i
Added wxCURSOR_ARROWWAIT which is the default arrow+hourglass cursor
[wxWidgets.git] / wxPython / src / events.i
index 6ca6f66c18db79187b85f5c2d91184060687cdc2..d1454016dccc7fd65fa8165d752a45abdf57ffd6 100644 (file)
@@ -30,6 +30,9 @@
 
 //---------------------------------------------------------------------------
 
+
+int wxNewEventType();
+
 class wxEvent {
 public:
     wxEvent(int id = 0);
@@ -75,7 +78,8 @@ class wxCommandEvent : public wxEvent {
 public:
     wxCommandEvent(int commandEventType = 0, int id = 0);
 
-    bool Checked();
+    bool IsChecked();
+    %name(Checked)bool IsChecked();
     long GetExtraLong();
     int GetInt();
     int GetSelection();
@@ -155,6 +159,15 @@ public:
     wxPoint GetLogicalPosition(const wxDC& dc);
     long GetX();
     long GetY();
+
+    long          m_x, m_y;
+    bool          m_leftDown;
+    bool          m_middleDown;
+    bool          m_rightDown;
+    bool          m_controlDown;
+    bool          m_shiftDown;
+    bool          m_altDown;
+    bool          m_metaDown;
 };
 
 //---------------------------------------------------------------------------
@@ -176,6 +189,15 @@ public:
     long GetY();
     wxPoint GetPosition();
     %name(GetPositionTuple) void GetPosition(long* OUTPUT, long* OUTPUT);
+
+    long          m_x, m_y;
+    long          m_keyCode;
+    bool          m_controlDown;
+    bool          m_shiftDown;
+    bool          m_altDown;
+    bool          m_metaDown;
+    bool          m_scanCode;
+
 };
 
 //---------------------------------------------------------------------------
@@ -364,6 +386,7 @@ class wxNotifyEvent : public wxCommandEvent {
 public:
     wxNotifyEvent(int commandType = wxEVT_NULL, int id = 0);
     bool IsAllowed();
+    void Allow();
     void Veto();
 };