X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fentry.cpp;fp=source%2Fentry.cpp;h=b113b2040de556001b5a3e28e631761860eb0909;hp=5aadbc262d355805e3b4fe338714a2a0bb8d4311;hb=9678abb23abe450109e2feda081f5bba5f20cc94;hpb=d10d1de6d17c285c63d7b3cea549017aaa1ddb01 diff --git a/source/entry.cpp b/source/entry.cpp index 5aadbc2..b113b20 100644 --- a/source/entry.cpp +++ b/source/entry.cpp @@ -347,7 +347,7 @@ void Entry::on_style_change() return; } - text_part = style->get_part("text"); + text_part = style->find_part("text"); if(multiline) check_view_range(); @@ -446,7 +446,7 @@ void Entry::erase_selection(bool emit_change) void Entry::check_cursor_blink() { - const Part *cursor_part = style->get_part("cursor"); + const Part *cursor_part = style->find_part("cursor"); bool has_blink = (cursor_part && cursor_part->get_graphic(ACTIVE|FOCUS)!=cursor_part->get_graphic(NORMAL|FOCUS)); cursor_blink = (state&FOCUS);