]> git.saurik.com Git - wxWidgets.git/commitdiff
set richedit DLL handle to 0 after unloading (patch 768994)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 17 Jul 2003 21:54:14 +0000 (21:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 17 Jul 2003 21:54:14 +0000 (21:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/textctrl.cpp

index a3a6dd5bb8ab8ccccb7636c43903a66fd17271a5..81fce2b330a90bc0fc6a99d4b21b5e7fc3eb3e14 100644 (file)
@@ -2234,6 +2234,7 @@ void wxRichEditModule::OnExit()
         if ( ms_hRichEdit[i] )
         {
             ::FreeLibrary(ms_hRichEdit[i]);
+            ms_hRichEdit[i] = NULL;
         }
     }
 }