X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23f681ec4840b44e265e6f71beef5a242306220b..65e4e78efb62104d4d0f9ac32e3fff24f9c14b6e:/include/wx/event.h diff --git a/include/wx/event.h b/include/wx/event.h index 7531023db5..98cdf33d11 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -128,6 +128,7 @@ enum wxEVT_SCROLL_PAGEUP = wxEVT_FIRST + 304, wxEVT_SCROLL_PAGEDOWN = wxEVT_FIRST + 305, wxEVT_SCROLL_THUMBTRACK = wxEVT_FIRST + 306, + wxEVT_SCROLL_THUMBRELEASE = wxEVT_FIRST + 307, /* * Scroll events from wxWindow @@ -139,7 +140,7 @@ enum wxEVT_SCROLLWIN_PAGEUP = wxEVT_FIRST + 324, wxEVT_SCROLLWIN_PAGEDOWN = wxEVT_FIRST + 325, wxEVT_SCROLLWIN_THUMBTRACK = wxEVT_FIRST + 326, - wxEVT_SCROLL_THUMBRELEASE = wxEVT_FIRST + 327, + wxEVT_SCROLLWIN_THUMBRELEASE = wxEVT_FIRST + 327, /* * System events @@ -263,6 +264,29 @@ enum wxEVT_CALENDAR_DOUBLECLICKED = wxEVT_FIRST + 954, wxEVT_CALENDAR_WEEKDAY_CLICKED = wxEVT_FIRST + 955, + /* Plot events */ + wxEVT_PLOT_SEL_CHANGING = wxEVT_FIRST + 1000, + wxEVT_PLOT_SEL_CHANGED = wxEVT_FIRST + 1001, + wxEVT_PLOT_CLICKED = wxEVT_FIRST + 1002, + wxEVT_PLOT_DOUBLECLICKED = wxEVT_FIRST + 1003, + wxEVT_PLOT_ZOOM_IN = wxEVT_FIRST + 1004, + wxEVT_PLOT_ZOOM_OUT = wxEVT_FIRST + 1005, + wxEVT_PLOT_VALUE_SEL_CREATING = wxEVT_FIRST + 1010, + wxEVT_PLOT_VALUE_SEL_CREATED = wxEVT_FIRST + 1011, + wxEVT_PLOT_VALUE_SEL_CHANGING = wxEVT_FIRST + 1012, + wxEVT_PLOT_VALUE_SEL_CHANGED = wxEVT_FIRST + 1013, + wxEVT_PLOT_AREA_SEL_CREATING = wxEVT_FIRST + 1014, + wxEVT_PLOT_AREA_SEL_CREATED = wxEVT_FIRST + 1015, + wxEVT_PLOT_AREA_SEL_CHANGING = wxEVT_FIRST + 1016, + wxEVT_PLOT_AREA_SEL_CHANGED = wxEVT_FIRST + 1017, + wxEVT_PLOT_BEGIN_X_LABEL_EDIT = wxEVT_FIRST + 1020, + wxEVT_PLOT_END_X_LABEL_EDIT = wxEVT_FIRST + 1021, + wxEVT_PLOT_BEGIN_Y_LABEL_EDIT = wxEVT_FIRST + 1022, + wxEVT_PLOT_END_Y_LABEL_EDIT = wxEVT_FIRST + 1023, + wxEVT_PLOT_BEGIN_TITLE_EDIT = wxEVT_FIRST + 1024, + wxEVT_PLOT_END_TITLE_EDIT = wxEVT_FIRST + 1025, + wxEVT_PLOT_AREA_CREATE = wxEVT_FIRST + 1026, + wxEVT_USER_FIRST = wxEVT_FIRST + 2000 }; @@ -670,10 +694,10 @@ public: #endif // WXWIN_COMPATIBILITY // Get X position - long GetX() const { return m_x; } + wxCoord GetX() const { return m_x; } // Get Y position - long GetY() const { return m_y; } + wxCoord GetY() const { return m_y; } void CopyObject(wxObject& obj) const;