X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30dea05497c1f00d72d7dbf7f2f4818dfaa0e500..338c2a71e9d2e560c21f901a4a3f33658da8600f:/src/gtk/textctrl.cpp diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 5f73627ccf..d1a19473eb 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -60,7 +60,7 @@ bool wxTextCtrl::Create( wxWindow *parent, wxWindowID id, const wxString &value, PreCreation( parent, id, pos, size, style, name ); bool bMultiLine = (style & wxTE_MULTILINE) != 0; - if ( bMultiLine ) + if ( bMultiLine ) { // a multi-line edit control: create a vertical scrollbar by default and // horizontal if requested @@ -123,7 +123,7 @@ bool wxTextCtrl::Create( wxWindow *parent, wxWindowID id, const wxString &value, gtk_editable_insert_text( GTK_EDITABLE(m_text), value, value.Length(), &tmp ); }; - if (style & wxREADONLY) + if (style & wxTE_READONLY) { } else @@ -394,4 +394,4 @@ GtkWidget* wxTextCtrl::GetConnectWidget(void) - +