From 21f8cd6f8bcf2751378d5114f49c3bc2553e4148 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 8 Nov 2004 20:03:12 +0000 Subject: [PATCH] Blind change following observation in wxTextCtrlBase. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/x11/textctrl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/wx/x11/textctrl.h b/include/wx/x11/textctrl.h index 1b8f0143a2..a8377b2544 100644 --- a/include/wx/x11/textctrl.h +++ b/include/wx/x11/textctrl.h @@ -133,9 +133,12 @@ public: // more readable flag testing methods // ---------------------------------- +#if 0 + // it seems now in wxTextCtrlBase bool IsSingleLine() const { return !(GetWindowStyle() & wxTE_MULTILINE); } +#endif bool IsPassword() const { return (GetWindowStyle() & wxTE_PASSWORD) != 0; } - bool WrapLines() const { return FALSE; } + bool WrapLines() const { return false; } // If the return values from and to are the same, there is no selection. virtual void GetSelection(long* from, long* to) const; -- 2.50.0