[Win] Fix issue #33; fix issue #34
authorStefanos A. <stapostol@gmail.com>
Wed, 8 Jan 2014 21:29:22 +0000 (22:29 +0100)
committerStefanos A. <stapostol@gmail.com>
Wed, 8 Jan 2014 21:29:22 +0000 (22:29 +0100)
commit4af9d30ccbb9399ea71771233f65cd7acc3860b3
tree90b4099cbcadd5215c5b233bab19b4f1b6d8273f
parent51ad513dbbf0b7f4275c42848d438553a38d73e3
[Win] Fix issue #33; fix issue #34

This patch adds a workaround for WM_STYLECHANGED messages that are not
delivered when running on Mono/Windows. If we detect Mono, then we call
HandleStyleChanged() directly in order to update the internal state of
our WinGLNative instance.
Source/OpenTK/Platform/Windows/WinGLNative.cs