X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e604d44b4b03f1f36998f91311d4e18e8f1b290e..300aaa8f77daee5cd740c8c4cce63f40c6bfae4b:/src/os2/frame.cpp diff --git a/src/os2/frame.cpp b/src/os2/frame.cpp index 98308cc88c..1b431f4443 100644 --- a/src/os2/frame.cpp +++ b/src/os2/frame.cpp @@ -175,7 +175,7 @@ wxFrame::~wxFrame() if (wxTheApp->GetExitOnFrameDelete()) { - ::WinPostMsg(GetHWND(), WM_QUIT, 0, 0); + ::WinPostMsg(NULL, WM_QUIT, 0, 0); } } wxModelessWindows.DeleteObject(this);