cxx examples: Fix button example 00

Text part API has changed.
This commit is contained in:
Jean-Philippe Andre 2017-06-20 14:09:57 +09:00
parent 0e21b4d280
commit 98b1309c6f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ elm_main (int argc EINA_UNUSED, char **argv EINA_UNUSED)
win.autohide_set(true);
efl::ui::Button btn(win);
btn.eo_cxx::elm::Layout::text_set(nullptr,"Good-Bye, World!");
btn.text_set("Good-Bye, World!");
btn.eo_cxx::efl::Gfx::size_set(120, 30);
btn.eo_cxx::efl::Gfx::position_set(60, 15);
btn.visible_set(true);