fix a problem with loading inked.dll (see #10633)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-04-26 18:41:02 +00:00
parent 778adf4c30
commit a10f026b85

View File

@ -2822,10 +2822,8 @@ bool wxRichEditModule::Load(Version version)
// load the InkEdit library
bool wxRichEditModule::LoadInkEdit()
{
static wxDynamicLibrary ms_inkEditLib;
static bool ms_inkEditLibLoadAttemped;
if (ms_inkEditLibLoadAttemped)
ms_inkEditLib.IsLoaded();
return ms_inkEditLib.IsLoaded();
ms_inkEditLibLoadAttemped = true;