X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1aff4201c36daec702cabc869c0bf899c56ba8cc..dec53e5a560eeaffd5927f000101dd473fd83c13:/include/wx/ribbon/gallery.h?ds=sidebyside diff --git a/include/wx/ribbon/gallery.h b/include/wx/ribbon/gallery.h index 6916be51fc..01d89841e5 100644 --- a/include/wx/ribbon/gallery.h +++ b/include/wx/ribbon/gallery.h @@ -69,6 +69,7 @@ public: virtual bool Layout(); virtual bool ScrollLines(int lines); + bool ScrollPixels(int pixels); void EnsureVisible(const wxRibbonGalleryItem* item); protected: @@ -84,8 +85,10 @@ protected: void OnMouseLeave(wxMouseEvent& evt); void OnMouseDown(wxMouseEvent& evt); void OnMouseUp(wxMouseEvent& evt); + void OnMouseDClick(wxMouseEvent& evt); void OnPaint(wxPaintEvent& evt); void OnSize(wxSizeEvent& evt); + int GetScrollLineSize() const; virtual wxSize DoGetBestSize() const; virtual wxSize DoGetNextSmallerSize(wxOrientation direction,