]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/uilib/uilib.h
-DGTK_DISABLE_DEPRECATED
[xonotic/netradiant.git] / libs / uilib / uilib.h
index a5164b022b9451f88c3b88bbec75eb2f6a764774..96a6ddce257fedfa1d35841127965a9fa7d4237e 100644 (file)
@@ -10,6 +10,7 @@ using ui_box = struct _GtkBox;
 using ui_button = struct _GtkButton;
 using ui_checkbutton = struct _GtkCheckButton;
 using ui_combobox = struct _GtkComboBox;
+using ui_comboboxtext = struct _GtkComboBoxText;
 using ui_cellrenderer = struct _GtkCellRenderer;
 using ui_cellrenderertext = struct _GtkCellRendererText;
 using ui_entry = struct _GtkEntry;
@@ -169,7 +170,9 @@ namespace ui {
 
     WRAP(ComboBox, Widget, ui_combobox,);
 
-    ComboBox ComboBoxText();
+    WRAP(ComboBoxText, ComboBox, ui_comboboxtext,
+         ComboBoxText();
+    );
 
     WRAP(Entry, Widget, ui_entry,
          Entry();