diff options
Diffstat (limited to 'wx+/tooltip.h')
-rw-r--r-- | wx+/tooltip.h | 5 |
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_; }; } |