From: Mikko Rasa Date: Wed, 16 Oct 2013 12:17:56 +0000 (+0300) Subject: Make widgets non-copyable X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=6deb1daf5e29bdd2bd828afa0cb3dec6d409c3b4;p=libs%2Fgltk.git Make widgets non-copyable --- diff --git a/source/widget.h b/source/widget.h index 6cb3d06..461cafe 100644 --- a/source/widget.h +++ b/source/widget.h @@ -53,6 +53,9 @@ protected: PartCache part_cache; Widget(); +private: + Widget(const Widget &); + Widget &operator=(const Widget &); public: virtual ~Widget();