X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d122f8c745c618a36f492e14f1ca1fd7230c5c9f..630ad6c6b620b4c24cd5b720b610b539e2770d60:/include/wx/x11/textctrl.h 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;