X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fdropdown.cpp;h=e0710a864c085cc52d67b7b4fd8d9cb2c1100078;hb=c72566cd7f8252eb386c753ceeafa8a324d1120b;hp=cbd7ee437111bc3726b1c0ba988471638142140b;hpb=8a0058b5b90bb7e9eacf1646142f4d73b426fd66;p=libs%2Fgltk.git diff --git a/source/dropdown.cpp b/source/dropdown.cpp index cbd7ee4..e0710a8 100644 --- a/source/dropdown.cpp +++ b/source/dropdown.cpp @@ -11,6 +11,7 @@ Distributed under the LGPL #include "panel.h" #include "part.h" #include "style.h" +#include "text.h" using namespace std; @@ -98,7 +99,7 @@ void Dropdown::render_special(const Part &part) const if(part.get_name()=="text") { if(list.get_selected_index()>=0) - render_text(part, list.get_selected()); + Text(style, list.get_selected()).render(part, geom); } else if(part.get_name()=="list" && dropped) list.render();