paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/src/core pgmessageobject.cpp,1.1.6.3,1.1.6.4


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/core pgmessageobject.cpp,1.1.6.3,1.1.6.4
Date: Fri, 01 Nov 2002 10:01:01 -0500

Update of /cvsroot/paragui/paragui/src/core
In directory subversions:/tmp/cvs-serv2475/src/core

Modified Files:
      Tag: devel-1-0
        pgmessageobject.cpp 
Log Message:
added Ruby bindings. Thanks Leon <address@hidden>



Index: pgmessageobject.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/core/pgmessageobject.cpp,v
retrieving revision 1.1.6.3
retrieving revision 1.1.6.4
diff -C2 -r1.1.6.3 -r1.1.6.4
*** pgmessageobject.cpp 30 Jul 2002 20:50:26 -0000      1.1.6.3
--- pgmessageobject.cpp 1 Nov 2002 15:00:59 -0000       1.1.6.4
***************
*** 159,164 ****
                        msg = (MSG_MESSAGE*)(event->user.data1);
  
!                       if(msg->to != NULL) {
!                               return msg->to->eventMessage(msg);
                        }
  
--- 159,164 ----
                        msg = (MSG_MESSAGE*)(event->user.data1);
  
!                       if(msg->_to != NULL) {
!                               return msg->_to->eventMessage(msg);
                        }
  
***************
*** 239,243 ****
        }
      
!       if((msg->to != this) && (msg->to != NULL)) {
                return false;
        }
--- 239,243 ----
        }
      
!       if((msg->_to != this) && (msg->_to != NULL)) {
                return false;
        }
***************
*** 246,254 ****
        switch(msg->type) {
                case MSG_QUIT:
!                       rc = eventQuit(msg->widget_id, 
(PG_MessageObject*)(msg->from), msg->data);
                        break;
  
                case MSG_MODALQUIT:
!                       rc = eventQuitModal(msg->widget_id, 
(PG_MessageObject*)(msg->from), msg->data);
  
                        default:
--- 246,254 ----
        switch(msg->type) {
                case MSG_QUIT:
!                       rc = eventQuit(msg->widget_id, 
(PG_MessageObject*)(msg->_from), msg->data);
                        break;
  
                case MSG_MODALQUIT:
!                       rc = eventQuitModal(msg->widget_id, 
(PG_MessageObject*)(msg->_from), msg->data);
  
                        default:
***************
*** 445,450 ****
        if(!rc) {
                MSG_MESSAGE* msg = new MSG_MESSAGE;
!               msg->to = target;
!               msg->from = this;
                msg->type = type;
                msg->widget_id = id;
--- 445,450 ----
        if(!rc) {
                MSG_MESSAGE* msg = new MSG_MESSAGE;
!               msg->_to = target;
!               msg->_from = this;
                msg->type = type;
                msg->widget_id = id;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]