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:
@@ -34,7 +34,7 @@
|
|||||||
// src/msw/thread.cpp for the explanation of this hack
|
// src/msw/thread.cpp for the explanation of this hack
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
|
||||||
extern int wxRunningEventLoopCount;
|
extern WXDLLIMPEXP_DATA_BASE(int) wxRunningEventLoopCount;
|
||||||
struct wxRunningEventLoopCounter
|
struct wxRunningEventLoopCounter
|
||||||
{
|
{
|
||||||
wxRunningEventLoopCounter() { wxRunningEventLoopCount++; }
|
wxRunningEventLoopCounter() { wxRunningEventLoopCount++; }
|
||||||
|
@@ -94,7 +94,7 @@
|
|||||||
// the proper solution is to use wxAppTraits to abstract the base/GUI-dependent
|
// 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
|
// 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
|
// in cvs HEAD, this is just a backwards compatible hack for 2.8
|
||||||
int wxRunningEventLoopCount = 0;
|
WXDLLIMPEXP_DATA_BASE(int) wxRunningEventLoopCount = 0;
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// constants
|
// constants
|
||||||
|
Reference in New Issue
Block a user