Making minor changes to code for new release of Photon 2.

Patch G changed the interface on a few of the functions.
Photon Only.
This commit is contained in:
Jerry.Kirk%Nexwarecorp.com 2000-04-04 00:56:28 +00:00
Родитель 4fd828211a
Коммит 6e1a9b7495
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2144,7 +2144,7 @@ PR_LOG(PhWidLog, PR_LOG_DEBUG, ("nsWidget::HandleEvent entering this=<%p> mWidge
/* I am not sure what rect and boundary should be but this works */
PhRect_t rect = {0,0,0,0};
PhRect_t boundary = {0,0,640,480};
err=PhInitDrag( PtWidgetRid(mWidget), ( Ph_DRAG_KEY_MOTION | Ph_DRAG_TRACK ),&rect, &boundary, aCbInfo->event->input_group , NULL, NULL, NULL);
err=PhInitDrag( PtWidgetRid(mWidget), ( Ph_DRAG_KEY_MOTION | Ph_DRAG_TRACK ),&rect, &boundary, aCbInfo->event->input_group , NULL, NULL, NULL, NULL, NULL);
if (err==-1)
{
NS_WARNING("nsWidget::HandleEvent PhInitDrag Failed!\n");

Просмотреть файл

@ -2746,7 +2746,7 @@ NS_IMETHODIMP nsWindow::SetModal(PRBool aModal)
{
if (mParent)
mParent->Enable(PR_TRUE);
PtModalEnd(0);
PtModalEnd();
res = NS_OK;
PR_LOG(PhWidLog, PR_LOG_DEBUG, ("nsWindow::SetModal after call to PtModalEnd\n"));
}