//---------------------------------------------------------------------------
+
+int wxNewEventType();
+
class wxEvent {
public:
wxEvent(int id = 0);
public:
wxCommandEvent(int commandEventType = 0, int id = 0);
- bool Checked();
+ bool IsChecked();
+ %name(Checked)bool IsChecked();
long GetExtraLong();
int GetInt();
int GetSelection();
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;
};
//---------------------------------------------------------------------------
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;
+
};
//---------------------------------------------------------------------------
public:
wxNotifyEvent(int commandType = wxEVT_NULL, int id = 0);
bool IsAllowed();
+ void Allow();
void Veto();
};