]> git.saurik.com Git - wxWidgets.git/commitdiff
IsSingleLine() is now in the base class
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Jul 2002 21:59:40 +0000 (21:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Jul 2002 21:59:40 +0000 (21:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/univ/textctrl.h

index 43e6d1a53bbe056cd0ba52dd8cf3ea13e5b14aa8..947a789c81ad4d0e24e03122f336f32d2449ea24 100644 (file)
@@ -265,7 +265,6 @@ public:
     virtual bool Enable(bool enable = TRUE);
 
     // more readable flag testing methods
-    bool IsSingleLine() const { return !(GetWindowStyle() & wxTE_MULTILINE); }
     bool IsPassword() const { return (GetWindowStyle() & wxTE_PASSWORD) != 0; }
     bool WrapLines() const
         { return !IsSingleLine() && !(GetWindowStyle() & wxHSCROLL); }