From: Włodzimierz Skiba Date: Mon, 8 Nov 2004 20:03:12 +0000 (+0000) Subject: Blind change following observation in wxTextCtrlBase. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/21f8cd6f8bcf2751378d5114f49c3bc2553e4148 Blind change following observation in wxTextCtrlBase. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;