X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dab0a95babc406b3784c4365aa14cd38dac4fa4c..c03c654417b649f21f50f6bb55adebe0bb4f17c2:/interface/wx/scrolwin.h diff --git a/interface/wx/scrolwin.h b/interface/wx/scrolwin.h index 3ce36d736f..2ddfe65021 100644 --- a/interface/wx/scrolwin.h +++ b/interface/wx/scrolwin.h @@ -183,7 +183,6 @@ public: long style = wxHSCROLL | wxVSCROLL, const wxString& name = "scrolledWindow"); - /** Translates the logical coordinates to the device ones. For example, if a window is scrolled 10 pixels to the bottom, the device coordinates of @@ -199,6 +198,7 @@ public: @see CalcUnscrolledPosition() */ void CalcScrolledPosition(int x, int y, int* xx, int* yy) const; + wxPoint CalcScrolledPosition(const wxPoint& pt) const; /** Translates the device coordinates to the logical ones. For example, if @@ -215,6 +215,7 @@ public: @see CalcScrolledPosition() */ void CalcUnscrolledPosition(int x, int y, int* xx, int* yy) const; + wxPoint CalcUnscrolledPosition(const wxPoint& pt) const; /** Creates the window for two-step construction. Derived classes @@ -578,7 +579,7 @@ protected: /** Scrolled window derived from wxPanel. - See wxScrolled for detailed description. + See wxScrolled for a detailed description. @note Note that because this class derives from wxPanel, it shares its behaviour with regard to TAB traversal and focus handling (in