From b9b1eec60482f45775ea28b035cf6e969efa877a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 30 Aug 2012 20:23:26 +0000 Subject: [PATCH] Remove wxRTTI macros from wxSpinCtrlGTKBase. This is not a public class and it doesn't need to be appear in wxRTTI. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/spinctrl.h | 1 - src/gtk/spinctrl.cpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 15d663785c..f57976df81 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -79,7 +79,6 @@ protected: // override this and return true. virtual bool UseGTKStyleBase() const { return true; } - DECLARE_DYNAMIC_CLASS(wxSpinCtrlGTKBase) DECLARE_EVENT_TABLE() }; diff --git a/src/gtk/spinctrl.cpp b/src/gtk/spinctrl.cpp index e2c07c0b74..205cbc61a9 100644 --- a/src/gtk/spinctrl.cpp +++ b/src/gtk/spinctrl.cpp @@ -84,8 +84,6 @@ gtk_changed(GtkSpinButton* spinbutton, wxSpinCtrl* win) // wxSpinCtrlGTKBase //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrlGTKBase, wxSpinCtrlBase) - BEGIN_EVENT_TABLE(wxSpinCtrlGTKBase, wxSpinCtrlBase) EVT_CHAR(wxSpinCtrlGTKBase::OnChar) END_EVENT_TABLE() -- 2.45.2