git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60394
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// load the InkEdit library
bool wxRichEditModule::LoadInkEdit()
{
// load the InkEdit library
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;