From 648e44f1e19531e9849a536d7589f918b58494b1 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 22 Apr 2017 14:08:07 +0200 Subject: Fix subclass proc default handler. --- plugingui/nativewindow_win32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index c5e8469..9a51fe1 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -330,7 +330,7 @@ LRESULT CALLBACK NativeWindowWin32::subClassProc(HWND hwnd, UINT msg, break; } - return DefWindowProc(hwnd, msg, wp, lp); + return DefSubclassProc(hwnd, msg, wp, lp); } NativeWindowWin32::NativeWindowWin32(void* native_window, Window& window) -- cgit v1.2.3