OS/2 bustage

This commit is contained in:
mkaply%us.ibm.com 2002-08-06 15:22:34 +00:00
parent d40c083d1e
commit e64a838884
2 changed files with 2 additions and 2 deletions

View File

@ -3896,7 +3896,7 @@ PresShell::CreateRenderingContext(nsIFrame *aFrame,
rv = mPresContext->GetDeviceContext(getter_AddRefs(dx));
if (NS_SUCCEEDED(rv) && dx) {
if (nsnull != widget) {
rv = dx->CreateRenderingContext(widget, result);
rv = dx->CreateRenderingContext(NS_STATIC_CAST(nsIWidget *, widget), result);
}
else {
rv = dx->CreateRenderingContext(result);

View File

@ -3896,7 +3896,7 @@ PresShell::CreateRenderingContext(nsIFrame *aFrame,
rv = mPresContext->GetDeviceContext(getter_AddRefs(dx));
if (NS_SUCCEEDED(rv) && dx) {
if (nsnull != widget) {
rv = dx->CreateRenderingContext(widget, result);
rv = dx->CreateRenderingContext(NS_STATIC_CAST(nsIWidget *, widget), result);
}
else {
rv = dx->CreateRenderingContext(result);