From: Paul Cornett Date: Tue, 9 May 2006 16:54:24 +0000 (+0000) Subject: unused member variables X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8539643021f737aa840adaf59b642b8339020624 unused member variables git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index e2041cb963..b801780273 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -186,10 +186,8 @@ private: void ChangeFontGlobally(); GtkWidget *m_text; - GtkWidget *m_vScrollbar; bool m_modified:1; - bool m_vScrollbarVisible:1; bool m_ignoreNextUpdate:1; // Our text buffer. Convenient, and holds the buffer while using diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 2b60a1a8f6..727cb2ec77 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -513,8 +513,7 @@ void wxTextCtrl::Init() m_ignoreNextUpdate = m_modified = false; SetUpdateFont(false); - m_text = - m_vScrollbar = (GtkWidget *)NULL; + m_text = NULL; m_frozenness = 0; m_gdkHandCursor = NULL; m_gdkXTermCursor = NULL; @@ -561,9 +560,6 @@ bool wxTextCtrl::Create( wxWindow *parent, return false; } - - m_vScrollbarVisible = false; - bool multi_line = (style & wxTE_MULTILINE) != 0; if (multi_line)