فهرست منبع

fix compilation errors

David Rose 18 سال پیش
والد
کامیت
a4adf72274
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      panda/src/osxdisplay/osxGraphicsWindow.mm

+ 2 - 2
panda/src/osxdisplay/osxGraphicsWindow.mm

@@ -298,7 +298,7 @@ static pascal OSStatus	windowEvtHndlr(EventHandlerCallRef myHandler, EventRef ev
   {
   {
     osxGraphicsWindow *osx_win = osxGraphicsWindow::GetCurrentOSxWindow(window);
     osxGraphicsWindow *osx_win = osxGraphicsWindow::GetCurrentOSxWindow(window);
     if (osx_win != (osxGraphicsWindow *)NULL)
     if (osx_win != (osxGraphicsWindow *)NULL)
-      return osx_win->event_handler(myHandler, event);    }
+      return osx_win->event_handler(myHandler, event);
   }
   }
 
 
   return eventNotHandledErr;
   return eventNotHandledErr;
@@ -1166,7 +1166,7 @@ void osxGraphicsWindow::process_events()
     EventTargetRef theTarget;
     EventTargetRef theTarget;
     theTarget = GetEventDispatcherTarget();
     theTarget = GetEventDispatcherTarget();
 
 
-	if (!req_properties.has_parent_window())
+	if (!_properties.has_parent_window())
 	{
 	{
     //    while  (ReceiveNextEvent(0, NULL,kEventDurationForever,true, &theEvent)== noErr)
     //    while  (ReceiveNextEvent(0, NULL,kEventDurationForever,true, &theEvent)== noErr)
 		while  (ReceiveNextEvent(0, NULL,kEventDurationNoWait,true, &theEvent)== noErr)
 		while  (ReceiveNextEvent(0, NULL,kEventDurationNoWait,true, &theEvent)== noErr)