dotgnu-pnet-commits
[Top][All Lists]
Advanced

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

[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms Control.cs, 1.25


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms Control.cs, 1.25, 1.26
Date: Thu, 31 Jul 2003 20:33:45 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms
In directory subversions:/tmp/cvs-serv25869/System.Windows.Forms

Modified Files:
        Control.cs 
Log Message:


Add toolkit support for "Capture", which is needed for Win32, but ignored
under Xsharp since X already does implicit captures between a mouse down
and a mouse up.


Index: Control.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/Control.cs,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** Control.cs  30 Jul 2003 16:07:11 -0000      1.25
--- Control.cs  1 Aug 2003 00:33:43 -0000       1.26
***************
*** 393,407 ****
                                }
                        }
-       [TODO]
        public bool Capture
                        {
                                get
                                {
!                                       // TODO
!                                       return false;
                                }
                                set
                                {
!                                       // TODO
                                }
                        }
--- 393,415 ----
                                }
                        }
        public bool Capture
                        {
                                get
                                {
!                                       if(toolkitWindow != null)
!                                       {
!                                               return toolkitWindow.Capture;
!                                       }
!                                       else
!                                       {
!                                               return false;
!                                       }
                                }
                                set
                                {
!                                       if(toolkitWindow != null)
!                                       {
!                                               toolkitWindow.Capture = value;
!                                       }
                                }
                        }





reply via email to

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