[STOBJECT] Keep the object alive while the thread is running,
[reactos.git] / dll / shellext / stobject / csystray.h
index 0ff5236..692948e 100644 (file)
@@ -29,7 +29,7 @@ class CSysTray :
     // TODO: keep icon handlers here
 
     DWORD dwServicesEnabled;
-    HWND hwndSysTray;
+    UINT wm_DESTROYWINDOW;
 
     static DWORD WINAPI s_SysTrayThreadProc(PVOID param);
     HRESULT SysTrayMessageLoop();
@@ -76,4 +76,4 @@ public:
         COM_INTERFACE_ENTRY_IID(IID_IOleCommandTarget, IOleCommandTarget)
     END_COM_MAP()
 
-};
\ No newline at end of file
+};