| Index: views/controls/combobox/native_combobox_gtk.cc
|
| ===================================================================
|
| --- views/controls/combobox/native_combobox_gtk.cc (revision 25701)
|
| +++ views/controls/combobox/native_combobox_gtk.cc (working copy)
|
| @@ -114,17 +114,17 @@
|
| G_CALLBACK(CallChanged), this);
|
|
|
| NativeControlCreated(widget);
|
| +}
|
|
|
| +void NativeComboboxGtk::NativeControlCreated(GtkWidget* native_control) {
|
| + NativeControlGtk::NativeControlCreated(native_control);
|
| +
|
| // Set the data from combobox
|
| UpdateFromModel();
|
| // and show the 1st item by default.
|
| - gtk_combo_box_set_active(GTK_COMBO_BOX(widget), 0);
|
| + gtk_combo_box_set_active(GTK_COMBO_BOX(native_control), 0);
|
| }
|
|
|
| -void NativeComboboxGtk::NativeControlCreated(GtkWidget* native_control) {
|
| - NativeControlGtk::NativeControlCreated(native_control);
|
| -}
|
| -
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // NativeComboboxGtk, private:
|
| void NativeComboboxGtk::SelectionChanged() {
|
|
|