]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dropdown.cpp
Add an input method subsystem
[libs/gltk.git] / source / dropdown.cpp
index 34ca1781153f946fddaaf69f82e993643b2864f1..8cc6187f2243a552b0943dde919dff6e6c0d18cb 100644 (file)
@@ -25,6 +25,9 @@ Dropdown::Dropdown(ListData &d):
 
 void Dropdown::init()
 {
+       // Necessary to have the parent container raise the dropdown on click
+       input_type = INPUT_TEXT;
+
        dropped = false;
 
        add(list);