Compile fixes for GTK 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user