From: Vadim Zeitlin Date: Thu, 27 Sep 2007 12:47:12 +0000 (+0000) Subject: don't declare HasSelection() in this class and especially don't declare it as protected X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/944287e68ea5d1c02b4da9b9703835c79f0c33c1 don't declare HasSelection() in this class and especially don't declare it as protected git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index f5fc2fb35b..bb89c204f5 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -230,9 +230,6 @@ protected: // set the selection (possibly without scrolling the caret into view) void DoSetSelection(long from, long to, int flags); - // return true if there is a non empty selection in the control - bool HasSelection() const; - // get the length of the line containing the character at the given // position long GetLengthOfLineContainingPos(long pos) const;