OSDN Git Service
(root)
/
radegast
/
radegast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e03fc8a
)
Unhook glControl events too
author
Latif Khalifa
<latifer@streamgrid.net>
Sun, 26 Jun 2011 04:29:22 +0000
(
04:29
+0000)
committer
Latif Khalifa
<latifer@streamgrid.net>
Sun, 26 Jun 2011 04:29:22 +0000
(
04:29
+0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@903
f7a694da
-4d33-11de-9ad6-
1127a62b9fcd
Radegast/GUI/Rendering/Rendering.cs
patch
|
blob
|
history
diff --git
a/Radegast/GUI/Rendering/Rendering.cs
b/Radegast/GUI/Rendering/Rendering.cs
index
fec0f57
..
35fe9b2
100644
(file)
--- a/
Radegast/GUI/Rendering/Rendering.cs
+++ b/
Radegast/GUI/Rendering/Rendering.cs
@@
-239,6
+239,14
@@
namespace Radegast
{
\r
TextureThreadRunning = false;
\r
PendingTextures.Close();
\r
+ glControl.Paint -= glControl_Paint;
\r
+ glControl.Resize -= glControl_Resize;
\r
+ glControl.MouseDown -= glControl_MouseDown;
\r
+ glControl.MouseUp -= glControl_MouseUp;
\r
+ glControl.MouseMove -= glControl_MouseMove;
\r
+ glControl.MouseWheel -= glControl_MouseWheel;
\r
+ glControl.Load -= new EventHandler(glControl_Load);
\r
+ glControl.Disposed -= glControl_Disposed;
\r
}
\r
\r
void glControl_Load(object sender, EventArgs e)
\r