//---------------------------------------------------------------------------
-class wxEvent {
+
+int wxNewEventType();
+
+class wxEvent : public wxObject {
public:
wxEvent(int id = 0);
~wxEvent();
long GetX();
long GetY();
+ int GetWheelRotation() const { return m_wheelRotation; }
+ int GetWheelDelta() const { return m_wheelDelta; }
+ int GetLinesPerAction() const { return m_linesPerAction; }
+
long m_x, m_y;
bool m_leftDown;
bool m_middleDown;
bool m_shiftDown;
bool m_altDown;
bool m_metaDown;
+ int m_wheelRotation;
+ int m_wheelDelta;
+ int m_linesPerAction;
};
//---------------------------------------------------------------------------
class wxIconizeEvent: public wxEvent {
public:
- wxIconizeEvent(int id = 0);
+ wxIconizeEvent(int id = 0, bool iconized = TRUE);
+ bool Iconized();
};
//---------------------------------------------------------------------------
int GetInterval();
};
+//---------------------------------------------------------------------------
+
+class wxTextUrlEvent : public wxCommandEvent
+{
+public:
+ wxTextUrlEvent(int id, const wxMouseEvent& evtMouse,
+ long start, long end);
+ const wxMouseEvent& GetMouseEvent();
+ long GetURLStart();
+ long GetURLEnd();
+};
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------