X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02a6e35839124cf11862887c857b3886c1dc0ae7..c3c916e38fe94cc60c28774f918d57ff850b628e:/src/gtk/textctrl.cpp diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index dc1e79cbd7..a970bf7dd5 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -396,9 +396,11 @@ bool wxTextCtrl::Create( wxWindow *parent, // a single-line text control: no need for scrollbars m_widget = m_text = gtk_entry_new(); - + +#ifdef __WXGTK20__ if (style & wxNO_BORDER) g_object_set( GTK_ENTRY(m_text), "has-frame", FALSE, NULL ); +#endif } m_parent->DoAddChild( this );