Commit 232a44ed authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

comctl32: Use the dialog template caption as default propsheet title.

parent a41ba1c3
...@@ -555,13 +555,12 @@ static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp, ...@@ -555,13 +555,12 @@ static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp,
if (IS_INTRESOURCE( lppsp->pszTitle )) if (IS_INTRESOURCE( lppsp->pszTitle ))
{ {
if (!LoadStringW( lppsp->hInstance, (DWORD_PTR)lppsp->pszTitle,szTitle,sizeof(szTitle)/sizeof(szTitle[0]) )) if (LoadStringW( lppsp->hInstance, (DWORD_PTR)lppsp->pszTitle, szTitle, sizeof(szTitle)/sizeof(szTitle[0]) ))
{
pTitle = pszNull;
FIXME("Could not load resource #%04x?\n",LOWORD(lppsp->pszTitle));
}
else
pTitle = szTitle; pTitle = szTitle;
else if (*p)
pTitle = p;
else
pTitle = pszNull;
} }
else else
pTitle = lppsp->pszTitle; pTitle = lppsp->pszTitle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment