Selaa lähdekoodia

- Added missing call to PreProcessMessage before calling OnXXXKey methods

svn path=/trunk/mcs/; revision=35136
Peter Dennis Bartok 21 vuotta sitten
vanhempi
sitoutus
48784b1e8e

+ 6 - 1
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs

@@ -29,9 +29,12 @@
 //	Jaak Simm		[email protected]
 //	John Sohn		[email protected]
 //
-// $Revision: 1.71 $
+// $Revision: 1.72 $
 // $Modtime: $
 // $Log: Control.cs,v $
+// Revision 1.72  2004/10/19 14:31:12  pbartok
+// - Added missing call to PreProcessMessage before calling OnXXXKey methods
+//
 // Revision 1.71  2004/10/18 06:27:39  ravindra
 // Default value of visible property must be true.
 //
@@ -2323,6 +2326,8 @@ namespace System.Windows.Forms
 		{
 			KeyEventArgs		key_event;
 
+			PreProcessMessage(ref msg);
+
 			switch (msg.Msg) {
 				case (int)Msg.WM_KEYDOWN: {
 					key_event = new KeyEventArgs ((Keys)msg.WParam.ToInt32 ());