]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/rendcmn.cpp
adding OS level Window Menu by default
[wxWidgets.git] / src / common / rendcmn.cpp
index 2cedd7f4de8d788831a5e6a63b3692ff5b299d37..323b7b4fb0b525beebc463d458faf06946aeac69 100644 (file)
@@ -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
 
 // ----------------------------------------------------------------------------