// and case-sensitive
gtk_combo_set_case_sensitive( GTK_COMBO(m_widget), TRUE );
+#ifdef __WXGTK20__
if (style & wxNO_BORDER)
g_object_set( GTK_ENTRY( combo->entry ), "has-frame", FALSE, NULL );
+#endif
GtkWidget *list = GTK_COMBO(m_widget)->list;
// 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 );
// and case-sensitive
gtk_combo_set_case_sensitive( GTK_COMBO(m_widget), TRUE );
+#ifdef __WXGTK20__
if (style & wxNO_BORDER)
g_object_set( GTK_ENTRY( combo->entry ), "has-frame", FALSE, NULL );
+#endif
GtkWidget *list = GTK_COMBO(m_widget)->list;
// 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 );