From 872ff793e62241835911ccaf4f383650b6962b54 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 8 Feb 2007 02:32:48 +0000 Subject: [PATCH] added dllexport/import declarations for wxRunningEventLoopCount to fix linking in DLL build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/evtloopcmn.cpp | 2 +- src/msw/thread.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/evtloopcmn.cpp b/src/common/evtloopcmn.cpp index ee1244ff4b..d04d05383f 100644 --- a/src/common/evtloopcmn.cpp +++ b/src/common/evtloopcmn.cpp @@ -34,7 +34,7 @@ // src/msw/thread.cpp for the explanation of this hack #ifdef __WXMSW__ -extern int wxRunningEventLoopCount; +extern WXDLLIMPEXP_DATA_BASE(int) wxRunningEventLoopCount; struct wxRunningEventLoopCounter { wxRunningEventLoopCounter() { wxRunningEventLoopCount++; } diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index d6115306bb..a8826baed7 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -94,7 +94,7 @@ // the proper solution is to use wxAppTraits to abstract the base/GUI-dependent // operation of waiting for the thread to terminate and is already implemented // in cvs HEAD, this is just a backwards compatible hack for 2.8 -int wxRunningEventLoopCount = 0; +WXDLLIMPEXP_DATA_BASE(int) wxRunningEventLoopCount = 0; // ---------------------------------------------------------------------------- // constants