diff options
Diffstat (limited to 'src/wx/content_widget.h')
| -rw-r--r-- | src/wx/content_widget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/content_widget.h b/src/wx/content_widget.h index 1a9c85dde..2a2bc9cf7 100644 --- a/src/wx/content_widget.h +++ b/src/wx/content_widget.h @@ -43,7 +43,7 @@ * @param V Data type of state as used by the view. */ template <class S, class T, typename U, typename V> -class ContentWidget : public boost::noncopyable +class ContentWidget { public: /** @param parent Parent window. @@ -84,6 +84,9 @@ public: _button->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&ContentWidget::button_clicked, this)); } + ContentWidget (ContentWidget const&) = delete; + ContentWidget& operator= (ContentWidget const&) = delete; + /** @return the widget that we are wrapping */ T* wrapped () const { |
