summaryrefslogtreecommitdiff
path: root/ui/tray_icon.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:10:11 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:10:11 +0200
commitc0cdb2ad99a1e2a6ade5ce76c91177a79258e669 (patch)
tree4701a015385d9a6a5a4ba99a8f1f5d400fff26b1 /ui/tray_icon.h
parent3.13 (diff)
downloadFreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.gz
FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.bz2
FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.zip
3.14
Diffstat (limited to 'ui/tray_icon.h')
-rw-r--r--ui/tray_icon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/tray_icon.h b/ui/tray_icon.h
index 1207d1fa..af9200d1 100644
--- a/ui/tray_icon.h
+++ b/ui/tray_icon.h
@@ -14,7 +14,7 @@
class MinimizeToTray : private wxEvtHandler
{
public:
- MinimizeToTray(wxTopLevelWindow* callerWnd, wxWindow* secondWnd = NULL); //ensure callerWind has longer lifetime!
+ MinimizeToTray(wxTopLevelWindow* callerWnd, wxTopLevelWindow* secondWnd = NULL); //ensure both windows have longer lifetime than this instance!
~MinimizeToTray(); //show windows again
void setToolTip(const wxString& toolTipText, size_t percent = 0); //percent (optional), number between [0, 100], for small progress indicator
@@ -26,7 +26,7 @@ private:
void resumeFromTray();
wxTopLevelWindow* callerWnd_;
- wxWindow* secondWnd_;
+ wxTopLevelWindow* secondWnd_;
class TaskBarImpl;
TaskBarImpl* trayIcon; //actual tray icon (don't use inheritance to enable delayed deletion)
};
bgstack15