]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/taskbar.cpp
Added wxTE_PROCESS_TAB
[wxWidgets.git] / src / msw / taskbar.cpp
index b0bd7cc9a7ffac0421071752c063d782a9e1409d..68c7ac60aa166b993a29445e3c85e88604635fa4 100644 (file)
 
 #ifndef WX_PRECOMP
 #include "wx/defs.h"
 
 #ifndef WX_PRECOMP
 #include "wx/defs.h"
+#include "wx/window.h"
+#include "wx/frame.h"
+#include "wx/utils.h"
 #endif
 
 #ifdef __WIN95__
 
 #endif
 
 #ifdef __WIN95__
 
-#include <wx/msw/taskbar.h>
-#include <string.h>
 #include <windows.h>
 #include <windows.h>
+#include <string.h>
+#include <wx/msw/taskbar.h>
 #include <wx/msw/private.h>
 
 #ifdef __GNUWIN32__
 #include <wx/msw/private.h>
 
 #ifdef __GNUWIN32__
@@ -158,7 +161,7 @@ bool wxTaskBarIcon::PopupMenu(wxMenu *menu) //, int x, int y);
     rval = win->PopupMenu(menu, 0, 0);
 
     win->PopEventHandler(FALSE);
     rval = win->PopupMenu(menu, 0, 0);
 
     win->PopEventHandler(FALSE);
-    delete win;
+    win->Destroy();
     return rval;
 }
 
     return rval;
 }