• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

OpenTweenのfork


Commit MetaInfo

修訂828cbb930895cb44eb263d09f3483f0dece9c4eb (tree)
時間2012-02-22 19:47:44
作者Kimura Youichi <kim.upsilon@bucy...>
CommiterKimura Youichi

Log Message

Fix NullReferenceException in DetailsListView

Change Summary

差異

--- a/TweenCS/DetailsListView.cs
+++ b/TweenCS/DetailsListView.cs
@@ -278,10 +278,12 @@ namespace Tween.TweenCustomControl
278278 }
279279 break;
280280 case WM_HSCROLL:
281- HScrolled(this, EventArgs.Empty);
281+ if (HScrolled != null)
282+ HScrolled(this, EventArgs.Empty);
282283 break;
283284 case WM_VSCROLL:
284- VScrolled(this, EventArgs.Empty);
285+ if (VScrolled != null)
286+ VScrolled(this, EventArgs.Empty);
285287 break;
286288 case WM_MOUSEWHEEL:
287289 case WM_MOUSEHWHEEL: