avoid functions deprecated in GTK3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -120,7 +120,7 @@ bool wxCheckBox::Create(wxWindow *parent,
|
||||
m_widgetLabel = gtk_label_new("");
|
||||
gtk_misc_set_alignment(GTK_MISC(m_widgetLabel), 0.0, 0.5);
|
||||
|
||||
m_widget = gtk_hbox_new(FALSE, 0);
|
||||
m_widget = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
|
||||
gtk_box_pack_start(GTK_BOX(m_widget), m_widgetLabel, FALSE, FALSE, 3);
|
||||
gtk_box_pack_start(GTK_BOX(m_widget), m_widgetCheckbox, FALSE, FALSE, 3);
|
||||
|
||||
|
Reference in New Issue
Block a user