Add hover helptips, show hover helptips by default for new users.

This commit is contained in:
Charles J. Cliffe
2016-02-08 22:43:11 -05:00
parent 8737728cf9
commit 393cd5f635
5 changed files with 37 additions and 2 deletions
+5
View File
@@ -157,6 +157,11 @@ void InteractiveCanvas::OnMouseEnterWindow(wxMouseEvent& event) {
void InteractiveCanvas::setStatusText(std::string statusText) {
wxGetApp().getAppFrame()->GetStatusBar()->SetStatusText(statusText);
if (wxGetApp().getConfig()->getShowTips()) {
this->SetToolTip(statusText);
} else {
this->SetToolTip("");
}
}
void InteractiveCanvas::setStatusText(std::string statusText, int value) {