summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_win32.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/nativewindow_win32.cc')
-rw-r--r--plugingui/nativewindow_win32.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc
index 12d430f..1ac1115 100644
--- a/plugingui/nativewindow_win32.cc
+++ b/plugingui/nativewindow_win32.cc
@@ -432,6 +432,7 @@ NativeWindowWin32::~NativeWindowWin32()
{
RemoveWindowSubclass(parent_window, subClassProc, 42);
}
+ DestroyWindow(m_hwnd);
UnregisterClass(m_className, GetModuleHandle(nullptr));
free(m_className);
}