40 |
} |
} |
41 |
|
|
42 |
set_title(_("Midi Rules")); |
set_title(_("Midi Rules")); |
43 |
#if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 22) |
#if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 24) |
44 |
set_margin(6); |
set_margin(6); |
45 |
#else |
#else |
46 |
set_border_width(6); |
set_border_width(6); |
48 |
|
|
49 |
add(vbox); |
add(vbox); |
50 |
|
|
51 |
#if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 22) |
#if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 24) |
52 |
hbox.set_margin(6); |
hbox.set_margin(6); |
53 |
#else |
#else |
54 |
hbox.set_border_width(6); |
hbox.set_border_width(6); |
69 |
sigc::mem_fun(*this, &MidiRules::combo_changed)); |
sigc::mem_fun(*this, &MidiRules::combo_changed)); |
70 |
vbox.pack_start(hbox, Gtk::PACK_SHRINK); |
vbox.pack_start(hbox, Gtk::PACK_SHRINK); |
71 |
|
|
72 |
#if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 22) |
#if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 24) |
73 |
box.set_margin(6); |
box.set_margin(6); |
74 |
#else |
#else |
75 |
box.set_border_width(6); |
box.set_border_width(6); |
76 |
#endif |
#endif |
77 |
vbox.pack_start(box); |
vbox.pack_start(box); |
78 |
|
|
79 |
#if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 22) |
#if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 24) |
80 |
button_box.set_margin(6); |
button_box.set_margin(6); |
81 |
#else |
#else |
82 |
button_box.set_border_width(6); |
button_box.set_border_width(6); |