]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/custombgwin.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / custombgwin.h
index b5684d1df33270e1f4d5794c2a940ffd3ddd3195..73890a4654e1bf4b1dc1a49b084be2a691858df4 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     Class adding support for custom window backgrounds.
 // Author:      Vadim Zeitlin
 // Created:     2011-10-10
-// RCS-ID:      $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
 // Copyright:   (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -22,6 +21,9 @@ public:
     // Trivial default ctor.
     wxCustomBackgroundWindowBase() { }
 
+    // Also a trivial but virtual -- to suppress g++ warnings -- dtor.
+    virtual ~wxCustomBackgroundWindowBase() { }
+
     // Use the given bitmap to tile the background of this window. This bitmap
     // will show through any transparent children.
     //