X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47cd661014b0bcf3311d8b6b01e87a13a04a2465..630ad6c6b620b4c24cd5b720b610b539e2770d60:/include/wx/x11/textctrl.h diff --git a/include/wx/x11/textctrl.h b/include/wx/x11/textctrl.h index 0f1706da59..a8377b2544 100644 --- a/include/wx/x11/textctrl.h +++ b/include/wx/x11/textctrl.h @@ -19,12 +19,12 @@ #include "wx/univ/textctrl.h" #else -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textctrl.h" #endif #include "wx/scrolwin.h" -#include "wx/dynarray.h" +#include "wx/arrstr.h" #include "wx/datetime.h" //----------------------------------------------------------------------------- @@ -101,6 +101,7 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString &name = wxTextCtrlNameStr); + virtual ~wxTextCtrl(); bool Create(wxWindow *parent, wxWindowID id, @@ -132,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;