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
This commit is contained in:
Vadim Zeitlin
2007-02-08 02:32:48 +00:00
parent 484f1362b2
commit 872ff793e6
2 changed files with 2 additions and 2 deletions

View File

@@ -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++; }

View File

@@ -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