]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/custombgwin.h
Really fix the problem with caret in wxGrid text editor under MSW.
[wxWidgets.git] / include / wx / custombgwin.h
index b5684d1df33270e1f4d5794c2a940ffd3ddd3195..3b901e52ddb785f18f03dfc0b1eaef74f92857ce 100644 (file)
@@ -22,6 +22,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.
     //