X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23ff76d5ad99605e0e49173dcd61894b17b03c9a..7bd30a12ade503fd135c686ecc98a6f6d5fecbeb:/include/wx/univ/scrarrow.h diff --git a/include/wx/univ/scrarrow.h b/include/wx/univ/scrarrow.h index 57cc4df70a..2621c16de5 100644 --- a/include/wx/univ/scrarrow.h +++ b/include/wx/univ/scrarrow.h @@ -23,17 +23,17 @@ // to derive from the wxControlWithArrows interface and implement its methods. // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxControlWithArrows; -class WXDLLEXPORT wxDC; -class WXDLLEXPORT wxMouseEvent; -class WXDLLEXPORT wxRect; -class WXDLLEXPORT wxRenderer; +class WXDLLIMPEXP_FWD_CORE wxControlWithArrows; +class WXDLLIMPEXP_FWD_CORE wxDC; +class WXDLLIMPEXP_FWD_CORE wxMouseEvent; +class WXDLLIMPEXP_FWD_CORE wxRect; +class WXDLLIMPEXP_FWD_CORE wxRenderer; // ---------------------------------------------------------------------------- // wxScrollArrows: an abstraction of scrollbar arrow // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxScrollArrows +class WXDLLIMPEXP_CORE wxScrollArrows { public: enum Arrow @@ -53,8 +53,9 @@ public: bool scrollbarLike = false) const; // process a mouse move, enter or leave event, possibly calling - // wxControlWithArrows::SetArrowState() if wxControlWithArrows::HitTest() - // says that the mosue has left/entered an arrow + // wxControlWithArrows::SetArrowState() if + // wxControlWithArrows::HitTestArrow() says that the mouse has left/entered + // an arrow bool HandleMouseMove(const wxMouseEvent& event) const; // process a mouse click event @@ -78,7 +79,7 @@ private: // wxControlWithArrows: interface implemented by controls using wxScrollArrows // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxControlWithArrows +class WXDLLIMPEXP_CORE wxControlWithArrows { public: virtual ~wxControlWithArrows() {} @@ -101,7 +102,7 @@ public: int flag, bool set = true) = 0; // hit testing: return on which arrow the point is (or Arrow_None) - virtual wxScrollArrows::Arrow HitTest(const wxPoint& pt) const = 0; + virtual wxScrollArrows::Arrow HitTestArrow(const wxPoint& pt) const = 0; // called when the arrow is pressed, return true to continue scrolling and // false to stop it