X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/702f5349c6468baae69ce6b7b2c780c3be57ee7c..8ad170cb85e398dc17c0387fcf57ce8aa8456775:/include/wx/msw/headerctrl.h diff --git a/include/wx/msw/headerctrl.h b/include/wx/msw/headerctrl.h index 9a67856a85..e707cef5f3 100644 --- a/include/wx/msw/headerctrl.h +++ b/include/wx/msw/headerctrl.h @@ -60,6 +60,9 @@ private: // override wxWindow methods which must be implemented by a new control virtual wxSize DoGetBestSize() const; + virtual void DoSetSize(int x, int y, + int width, int height, + int sizeFlags = wxSIZE_AUTO); // override MSW-specific methods needed for new control virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; @@ -81,6 +84,9 @@ private: // the image list: initially NULL, created on demand wxImageList *m_imageList; + // the offset of the window used to emulate scrolling it + int m_scrollOffset; + DECLARE_NO_COPY_CLASS(wxHeaderCtrl) };