2008-05-14 Sebastien Pouliot <sebastien@ximian.com>
commit7c254d031b58f86ad9da0339a53606d4e3d25811
authorSebastien Pouliot <sebastien@ximian.com>
Wed, 14 May 2008 21:36:30 +0000 (14 21:36 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Wed, 14 May 2008 21:36:30 +0000 (14 21:36 -0000)
tree73e902a903f2e08f5fea7d19bb57e26a7fb15180
parent118a8fe945d43618e11cb388c4525e953eb3eb4f
2008-05-14  Sebastien Pouliot  <sebastien@ximian.com>

* Graphics.cs: Throw a NotSupportedException if we're ask to create
a Graphics from a handle and X is not available (i.e. XOpenDisplay
returns NULL). Easier to diagnose than a SIGSEGV

svn path=/trunk/mcs/; revision=103229
mcs/class/System.Drawing/System.Drawing/ChangeLog
mcs/class/System.Drawing/System.Drawing/Graphics.cs