- Call DrawCaption in user32 when we get WM_NCUAHDRAWCAPTION and there is no active theme.
- Should finally fix CORE-9016.
svn path=/trunk/; revision=66723
{
if(!IsAppThemed())
{
+ if (Msg == WM_NCUAHDRAWCAPTION)
+ {
+ user32ApiHook.DrawCaption(hWnd, NULL, NULL, 0);
+ return 0;
+ }
+
return user32ApiHook.DefWindowProcW(hWnd,
Msg,
wParam,
{
if(!IsAppThemed())
{
+ if (Msg == WM_NCUAHDRAWCAPTION)
+ {
+ user32ApiHook.DrawCaption(hWnd, NULL, NULL, 0);
+ return 0;
+ }
+
return user32ApiHook.DefWindowProcA(hWnd,
Msg,
wParam,