fix AIX bustage - compiler confused by too much casting
This commit is contained in:
Родитель
564e076878
Коммит
cc83dd48d4
|
@ -149,8 +149,9 @@ NS_METHOD nsImageButton::Create(nsIWidget *aParent,
|
||||||
nsIToolkit *aToolkit,
|
nsIToolkit *aToolkit,
|
||||||
nsWidgetInitData *aInitData)
|
nsWidgetInitData *aInitData)
|
||||||
{
|
{
|
||||||
return ChildWindow::Create(aParent, aRect,
|
EVENT_CALLBACK ec = (aHandleEventFunction != nsnull) ?
|
||||||
nsnull != aHandleEventFunction ? aHandleEventFunction: HandleImageButtonEvent,
|
aHandleEventFunction : HandleImageButtonEvent;
|
||||||
|
return ChildWindow::Create(aParent, aRect, ec,
|
||||||
aContext, aAppShell, aToolkit, aInitData);
|
aContext, aAppShell, aToolkit, aInitData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче