X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b82138efe9aacda4e0ad7ce4b1551d624524c4..f38374d0d7aa865e9bbe8ee61b75b94ffcdfb220:/include/wx/msw/textctrl.h diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 3e66b4a49e..4290b207c9 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -88,7 +88,7 @@ public: // considering all its contents as a single strings) and (x, y) coordinates // which represent column and line. virtual long XYToPosition(long x, long y) const; - virtual void PositionToXY(long pos, long *x, long *y) const; + virtual bool PositionToXY(long pos, long *x, long *y) const; virtual void ShowPosition(long pos); @@ -162,7 +162,7 @@ protected: // limit is big enough) void AdjustSpaceLimit(); - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const; private: DECLARE_EVENT_TABLE()