From 7eff71440774aafc5bc208cc4c1c525bf5b41037 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 27 Dec 2011 01:21:43 +0000 Subject: [PATCH] Fix warning about non-virtual dtor in wxDataViewCtrlInternal. This class doesn't need a virtual dtor but g++ warned about its absence because it unnecessarily defined a virtual method. Just make this method non-virtual to avoid the warning. Closes #13395. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dataview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index 8518e49aea..825bdd31d4 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -279,7 +279,7 @@ public: // item can be deleted already in the model int GetIndexOf( const wxDataViewItem &parent, const wxDataViewItem &item ); - virtual void OnInternalIdle(); + void OnInternalIdle(); protected: void InitTree(); -- 2.45.2