I bind a exists wnd to clanlib, but the default message process function stumped me.

in win32_window.cpp func create_new_window
why not remove these code

old_wndproc = (WNDPROC) GetWindowLongPtr(hwnd, GWLP_WNDPROC);
SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR) Win32Window::static_window_proc);

curcode:
void Win32Window::create_new_window(const DisplayWindowDescription &desc)
{
allow_screensaver = desc.get_allow_screensaver();

if (desc.get_handle())
{
hwnd = desc.get_handle();
destroy_hwnd = false;
// old_wndproc = (WNDPROC) GetWindowLongPtr(hwnd, GWLP_WNDPROC);
// SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR) OpenGLWindowProvider_WGL::message_handler);
}
else
{
register_window_class();
...