summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_gui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index 00a89a34c3..31e33c0994 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -484,6 +484,9 @@ class MIR_CORE_EXPORT CCtrlBase
{
friend class CDlgBase;
+ __forceinline CCtrlBase(const CCtrlBase&) {}
+ __forceinline CCtrlBase& operator=(const CCtrlBase&) { return *this; }
+
__forceinline CCtrlBase(HWND hwnd) : m_hwnd(hwnd) {}
public: