summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/events/inputguievent.h2
-rw-r--r--src/events/keyevent.h2
-rw-r--r--src/events/mouseevent.h2
-rw-r--r--src/gui/widgets/basiccontainer2.h2
4 files changed, 8 insertions, 0 deletions
diff --git a/src/events/inputguievent.h b/src/events/inputguievent.h
index dc4dfe427..b6164d55d 100644
--- a/src/events/inputguievent.h
+++ b/src/events/inputguievent.h
@@ -84,6 +84,8 @@ class InputGuiEvent notfinal : public Event
mIsConsumed(false)
{ }
+ A_DELETE_COPY(InputGuiEvent)
+
/**
* Marks the event as consumed. Input event listeners may discard
* consumed input or act on consumed input. An example of a widget
diff --git a/src/events/keyevent.h b/src/events/keyevent.h
index e8fea72ed..936529bba 100644
--- a/src/events/keyevent.h
+++ b/src/events/keyevent.h
@@ -105,6 +105,8 @@ class KeyEvent final : public InputGuiEvent
mActionId(actionId)
{ }
+ A_DELETE_COPY(KeyEvent)
+
/**
* Gets the type of the event.
*
diff --git a/src/events/mouseevent.h b/src/events/mouseevent.h
index cd43af96b..1234801aa 100644
--- a/src/events/mouseevent.h
+++ b/src/events/mouseevent.h
@@ -105,6 +105,8 @@ class MouseEvent final : public InputGuiEvent
{
}
+ A_DELETE_COPY(MouseEvent)
+
/**
* Gets the button of the mouse event.
*
diff --git a/src/gui/widgets/basiccontainer2.h b/src/gui/widgets/basiccontainer2.h
index d346db543..74317e7cd 100644
--- a/src/gui/widgets/basiccontainer2.h
+++ b/src/gui/widgets/basiccontainer2.h
@@ -92,6 +92,8 @@ class BasicContainer2 notfinal : public BasicContainer
*/
~BasicContainer2() override;
+ A_DEFAULT_COPY(BasicContainer2)
+
/**
* Sets the container to be opaque or not. If the container
* is opaque its background will be drawn, if it's not opaque