X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d522606d0a1dfd22bcdc1a386b3dca01fa985e3..99b1023fd8d786e74f369069e33e4cb06a8fe45a:/src/gtk1/textctrl.cpp diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index f37ca3d41e..c93cae832f 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -543,7 +543,7 @@ void wxTextCtrl::SetValue( const wxString &value ) } // GRG, Jun/2000: Changed this after a lot of discussion in - // the lists. wxWindows 2.2 will have a set of flags to + // the lists. wxWidgets 2.2 will have a set of flags to // customize this behaviour. SetInsertionPoint(0); @@ -1517,15 +1517,8 @@ bool wxTextCtrl::SetStyle( long start, long end, const wxTextAttr& style ) void wxTextCtrl::ApplyWidgetStyle() { -// if (m_windowStyle & wxTE_MULTILINE) -// { -// // how ? -// } -// else - { - SetWidgetStyle(); - gtk_widget_set_style( m_text, m_widgetStyle ); - } + SetWidgetStyle(); + gtk_widget_set_style( m_text, m_widgetStyle ); } void wxTextCtrl::OnCut(wxCommandEvent& WXUNUSED(event))