Work around compile problem with some versions of gcc 2.95 (Debian 3.0 and OS X 10.1 affected)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -63,12 +63,7 @@ public:
|
||||
}
|
||||
|
||||
// return the global and unique wxRendererPtr
|
||||
static wxRendererPtr& Get()
|
||||
{
|
||||
static wxRendererPtr s_renderer;
|
||||
|
||||
return s_renderer;
|
||||
}
|
||||
static wxRendererPtr& Get();
|
||||
|
||||
private:
|
||||
wxRendererPtr() : wxRendererPtrBase(NULL) { m_initialized = false; }
|
||||
@@ -91,6 +86,14 @@ private:
|
||||
DECLARE_NO_COPY_CLASS(wxRendererPtr)
|
||||
};
|
||||
|
||||
// return the global and unique wxRendererPtr
|
||||
/*static*/ wxRendererPtr& wxRendererPtr::Get()
|
||||
{
|
||||
static wxRendererPtr s_renderer;
|
||||
|
||||
return s_renderer;
|
||||
}
|
||||
|
||||
#if wxUSE_DYNLIB_CLASS
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user