define wxEventLoopBase::ms_activeLoop in appcmn.cpp instead of doing it in all platform-dependent evtloop.cpp files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-01-12 18:57:28 +00:00
parent 77fb1a02aa
commit 25e2f480a7
10 changed files with 3 additions and 17 deletions

View File

@@ -48,8 +48,6 @@ private:
// wxEventLoop running and exiting
// ----------------------------------------------------------------------------
wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
wxEventLoop::~wxEventLoop()
{
wxASSERT_MSG( !m_impl, _T("should have been deleted in Run()") );

View File

@@ -63,6 +63,9 @@ WX_CHECK_BUILD_OPTIONS("wxCore")
// this defines wxEventLoopPtr
wxDEFINE_TIED_SCOPED_PTR_TYPE(wxEventLoop)
// define it here as we don't have common/evtloopcmn.cpp for now
wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
// ============================================================================
// wxAppBase implementation
// ============================================================================

View File

@@ -56,8 +56,6 @@ private:
// wxEventLoop running and exiting
// ----------------------------------------------------------------------------
wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
wxEventLoop::~wxEventLoop()
{
wxASSERT_MSG( !m_impl, _T("should have been deleted in Run()") );

View File

@@ -56,8 +56,6 @@ private:
// wxEventLoop running and exiting
// ----------------------------------------------------------------------------
wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
wxEventLoop::~wxEventLoop()
{
wxASSERT_MSG( !m_impl, _T("should have been deleted in Run()") );

View File

@@ -104,8 +104,6 @@ bool wxEventLoopImpl::SendIdleEvent()
// wxEventLoop running and exiting
// ----------------------------------------------------------------------------
wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
wxEventLoop::~wxEventLoop()
{
wxASSERT_MSG( !m_impl, _T("should have been deleted in Run()") );

View File

@@ -96,8 +96,6 @@ bool wxEventLoopImpl::SendIdleMessage()
// wxEventLoop running and exiting
// ----------------------------------------------------------------------------
wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
wxEventLoop::~wxEventLoop()
{
wxASSERT_MSG( !m_impl, _T("should have been deleted in Run()") );

View File

@@ -52,7 +52,6 @@
// wxEventLoop implementation
// ============================================================================
wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
wxWindowMSW *wxEventLoop::ms_winCritical = NULL;
// ----------------------------------------------------------------------------

View File

@@ -199,8 +199,6 @@ bool wxEventLoopImpl::SendIdleMessage()
// wxEventLoop implementation
// ============================================================================
wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
// ----------------------------------------------------------------------------
// wxEventLoop running and exiting
// ----------------------------------------------------------------------------

View File

@@ -55,8 +55,6 @@
// wxEventLoop implementation
// ============================================================================
wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
// ----------------------------------------------------------------------------
// ctor/dtor
// ----------------------------------------------------------------------------

View File

@@ -339,8 +339,6 @@ bool wxEventLoopImpl::SendIdleEvent()
// wxEventLoop implementation
// ============================================================================
wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
// ----------------------------------------------------------------------------
// wxEventLoop running and exiting
// ----------------------------------------------------------------------------