diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-15 16:47:52 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-15 16:47:52 +1000 |
commit | faf57f45eae60a257a8076c83c71c422486f88ce (patch) | |
tree | bae925421b4048bc7de7784e38d73b9960e85553 /gtk/ScintillaGTK.h | |
parent | 75dba090f235fc4d24691bd1b57928f89ebe9f1b (diff) | |
download | scintilla-mirror-faf57f45eae60a257a8076c83c71c422486f88ce.tar.gz |
Avoid calling virtual functions in constructors and destructors.
Diffstat (limited to 'gtk/ScintillaGTK.h')
-rw-r--r-- | gtk/ScintillaGTK.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h index 95ad953f0..d59a4ef29 100644 --- a/gtk/ScintillaGTK.h +++ b/gtk/ScintillaGTK.h @@ -81,7 +81,7 @@ public: static ScintillaGTK *FromWidget(GtkWidget *widget); static void ClassInit(OBJECT_CLASS* object_class, GtkWidgetClass *widget_class, GtkContainerClass *container_class); private: - virtual void Initialise(); + void Init(); virtual void Finalise(); virtual bool AbandonPaint(); virtual void DisplayCursor(Window::Cursor c); |