From f5c6fd1a2582be29c9a5376ccb638781fbf355f7 Mon Sep 17 00:00:00 2001 From: alberth Date: Fri, 26 Nov 2010 15:22:18 +0000 Subject: (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). --- src/object_gui.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/object_gui.cpp') diff --git a/src/object_gui.cpp b/src/object_gui.cpp index f54492caf..a56fc051f 100644 --- a/src/object_gui.cpp +++ b/src/object_gui.cpp @@ -205,11 +205,6 @@ public: } } - virtual void OnPaint() - { - this->DrawWidgets(); - } - void SelectOtherObject(int object_index) { _selected_object_index = object_index; -- cgit v1.2.3-54-g00ecf