CVS tags cleaning (with other minor cleaning).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-10-16 09:30:01 +00:00
parent 008a265578
commit 1c4e8f384d
26 changed files with 60 additions and 66 deletions

View File

@@ -2,9 +2,9 @@
// Name: wx/cocoa/ObjcPose.h
// Purpose: Macros for initializing poseAs, among other things
// Author: David Elliott
// Modified by:
// Modified by:
// Created: 2002/12/03
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2002 David Elliott <dfe@cox.net>
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@ -22,31 +22,31 @@ Objective-C Poser class initialization
class wxPoseAsInitializer
{
public:
wxPoseAsInitializer()
: m_next(sm_first)
{
sm_first = this;
}
virtual ~wxPoseAsInitializer()
{
sm_first = m_next;
}
static void InitializePosers()
{
while(sm_first)
{
delete sm_first;
}
};
wxPoseAsInitializer()
: m_next(sm_first)
{
sm_first = this;
}
virtual ~wxPoseAsInitializer()
{
sm_first = m_next;
}
static void InitializePosers()
{
while(sm_first)
{
delete sm_first;
}
};
protected:
wxPoseAsInitializer *m_next;
static wxPoseAsInitializer *sm_first;
wxPoseAsInitializer *m_next;
static wxPoseAsInitializer *sm_first;
};
class wxDummyForPoseAsInitializer
{
public:
wxDummyForPoseAsInitializer(void*) {}
wxDummyForPoseAsInitializer(void*) {}
};
#define WX_IMPLEMENT_POSER(poser) \
@@ -65,4 +65,3 @@ wxDummyForPoseAsInitializer wxDummyPoseAsInitializerFor##poser(new wxPoseAsIniti
#endif // __OBJC__
#endif // __WX_COCOA_PRIVATE_POSER_H__