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,
|
||||
nsWidgetInitData *aInitData)
|
||||
{
|
||||
return ChildWindow::Create(aParent, aRect,
|
||||
nsnull != aHandleEventFunction ? aHandleEventFunction: HandleImageButtonEvent,
|
||||
EVENT_CALLBACK ec = (aHandleEventFunction != nsnull) ?
|
||||
aHandleEventFunction : HandleImageButtonEvent;
|
||||
return ChildWindow::Create(aParent, aRect, ec,
|
||||
aContext, aAppShell, aToolkit, aInitData);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче