]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
close the handle returned by OpenProcessToken() (fixes #10129)
[wxWidgets.git] / src / os2 / window.cpp
index 444a0756c2312a3224852fa1a1a630ac1fdde6c4..74490afd45987d6ab3b4f7aba3b6f553636e68b0 100644 (file)
@@ -2548,7 +2548,7 @@ MRESULT wxWindowOS2::OS2WindowProc( WXUINT uMsg,
                             (pPage->ulPageIdNew > 0L && pPage->ulPageIdCur > 0L))
                         {
                             wxWindowOS2*        pWin = wxFindWinFromHandle(pPage->hwndBook);
-                            wxNotebookEvent     vEvent( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
+                            wxBookCtrlEvent     vEvent( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
                                                        ,(int)SHORT1FROMMP(wParam)
                                                        ,(int)pPage->ulPageIdNew
                                                        ,(int)pPage->ulPageIdCur