X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/os2/frame.cpp diff --git a/src/os2/frame.cpp b/src/os2/frame.cpp index 6f200c9dde..a872743ea2 100644 --- a/src/os2/frame.cpp +++ b/src/os2/frame.cpp @@ -1071,9 +1071,8 @@ MRESULT EXPENTRY wxFrameMainWndProc( HWND hWnd, { MRESULT rc = (MRESULT)0; bool bProcessed = false; - wxFrame* pWnd = NULL; - pWnd = (wxFrame*) wxFindWinFromHandle((WXHWND) hWnd); + wxFrame* pWnd = (wxFrame*) wxFindWinFromHandle((WXHWND) hWnd); switch (ulMsg) { case WM_QUERYFRAMECTLCOUNT: