]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/frame.cpp
wxListCtrl::InsertItem() returned wrong index.
[wxWidgets.git] / src / os2 / frame.cpp
index 98308cc88cb7d21d9de08f0a1ce491f9e92016fe..1b431f44435a3340619ff273972b30c2b589b2a2 100644 (file)
@@ -175,7 +175,7 @@ wxFrame::~wxFrame()
 
         if (wxTheApp->GetExitOnFrameDelete())
         {
-            ::WinPostMsg(GetHWND(), WM_QUIT, 0, 0);
+            ::WinPostMsg(NULL, WM_QUIT, 0, 0);
         }
     }
     wxModelessWindows.DeleteObject(this);