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

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

View File

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