]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/render/renddll.cpp
making the width of the popup button dependent from the window variant, adding a...
[wxWidgets.git] / samples / render / renddll.cpp
index 8493fb58106616453712a81116dca5b7fedaad17..3a611ab099674fc370ac86e47e39c82892493edd 100644 (file)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     04.08.03
 // RCS-ID:      $Id$
-// Copyright:   (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
+// Copyright:   (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 
 #include "wx/renderer.h"
 
+#ifndef WX_PRECOMP
+    #include "wx/dc.h"
+#endif
+
 class MyDllRenderer : public wxRendererNative
 {
 public:
@@ -66,6 +70,12 @@ public:
         return wxSplitterRenderParams(0, 0, 0);
     }
 
+    virtual wxRendererVersion GetVersion() const
+    {
+        return wxRendererVersion(wxRendererVersion::Current_Version,
+                                 wxRendererVersion::Current_Age);
+    }
+
 #if 0 // just for debugging
     MyDllRenderer()
     {