28 Mar
2012
28 Mar
'12
10:34 a.m.
Aric Stewart <aric(a)codeweavers.com> writes:
+HRESULT WINAPI BaseWindow_Destroy(BaseWindow *This) +{ + if (This->hWnd) + BaseWindowImpl_DoneWithWindow(This); + + UnregisterClassW(This->pClassName, NULL);
You most likely don't want to unregister the class every time.
+ wnd_class_registered = GetClassInfoW(This->hInstance, This->pClassName, + &winclass); + + if (!wnd_class_registered) + {
There shouldn't be any reason to do this. -- Alexandre Julliard julliard(a)winehq.org