CHintBox: fix text mode pass

Rquired in inherited classes


Origin commit data
------------------
Commit: 2952dcc124
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-21 (Fri, 21 Oct 2016)
This commit is contained in:
2016-10-21 00:10:38 +02:00
parent 28ba1cbc86
commit c004c30056
2 changed files with 3 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ void CHintBox::init(const std::string& Text, const int& Width, const std::string
lines = 0;
timeout = HINTBOX_DEFAULT_TIMEOUT;
w_indentation = indent;
hb_text_mode = text_mode;
//set required window width and basic height
width = max(HINTBOX_MIN_WIDTH, Width);
@@ -160,7 +161,7 @@ void CHintBox::init(const std::string& Text, const int& Width, const std::string
timeout_pb_timer= NULL;
if (!Text.empty())
addHintItem(Text, text_mode, Picon);
addHintItem(Text, hb_text_mode, Picon);
}
CHintBox::~CHintBox()