summaryrefslogtreecommitdiff
path: root/wx+/tooltip.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2016-03-16 21:32:07 +0100
committerDaniel Wilhelm <daniel@wili.li>2016-03-16 21:32:07 +0100
commitce3574cf7ff2ee68608b4d001f5a6dd1e36b2252 (patch)
tree576b1741351e1cd34f0fcce49f98df9c17e10912 /wx+/tooltip.h
parent7.6 (diff)
downloadFreeFileSync-ce3574cf7ff2ee68608b4d001f5a6dd1e36b2252.tar.gz
FreeFileSync-ce3574cf7ff2ee68608b4d001f5a6dd1e36b2252.tar.bz2
FreeFileSync-ce3574cf7ff2ee68608b4d001f5a6dd1e36b2252.zip
7.7
Diffstat (limited to 'wx+/tooltip.h')
-rw-r--r--wx+/tooltip.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/wx+/tooltip.h b/wx+/tooltip.h
index 8ddba819..06953361 100644
--- a/wx+/tooltip.h
+++ b/wx+/tooltip.h
@@ -15,8 +15,7 @@ namespace zen
class Tooltip
{
public:
- Tooltip(wxWindow& parent) : //parent needs to live at least as long as this instance!
- tipWindow(nullptr), parent_(parent) {}
+ Tooltip(wxWindow& parent) : parent_(parent) {} //parent needs to live at least as long as this instance!
void show(const wxString& text,
wxPoint mousePos, //absolute screen coordinates
@@ -25,7 +24,7 @@ public:
private:
class TooltipDialogGenerated;
- TooltipDialogGenerated* tipWindow;
+ TooltipDialogGenerated* tipWindow = nullptr;
wxWindow& parent_;
};
}
bgstack15