
X11KeyMap has a Windows.Forms dependancy
Posted Sunday, 13 September, 2009 - 16:16 by Anonymous| Project: | The Open Toolkit library |
| Version: | 0.9.9-3 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
The X11KeyMap constructor includes a call to Windows Forms MessageBox. This renders the whole application dependant on Windows.Forms (even though this function isn't called at runtime). If I remove the call to MessageBox and uninstall winforms, my application seems to work alright.
I suppose this could be viewed as a feature request too, but imo its a minor bug that OpenTK requires Winforms even when they're not used.


Comments
#1
Oh yeah, forgot to mention, I'm using Ubuntu 9.10
#2
Thanks for the report, this is fixed in rev. 2280.
There are other parts of OpenTK that depend on WinForms (which means OpenTK will not build without WinForms) but I'm removing those one by one. The next version (0.9.9-3) will not need WinForms at all (outside of the GLControl, of course).
#3
Closing issues fixed in 0.9.9-3.