X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d522606d0a1dfd22bcdc1a386b3dca01fa985e3..ed197fcf1572ba922802aaaa46e9f7970ea14bed:/src/gtk1/textctrl.cpp?ds=sidebyside diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index f37ca3d41e..d36febec6b 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -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))