summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_win32.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-22 14:08:07 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-22 14:08:19 +0200
commit648e44f1e19531e9849a536d7589f918b58494b1 (patch)
tree2ec209ca1372ee24a0f7994f2bb38cd3b8f6d5ac /plugingui/nativewindow_win32.cc
parentcc0f25cd2b9fc5856f16b71a412ce8c17edc39a7 (diff)
Fix subclass proc default handler.
Diffstat (limited to 'plugingui/nativewindow_win32.cc')
-rw-r--r--plugingui/nativewindow_win32.cc2
1 files changed, 1 insertions, 1 deletions
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)