ui.backend.windows: correct wndproc signature so that factor works with vs2012