Removed mac os x hack again

This commit is contained in:
Elias Naur 2003-09-23 11:00:37 +00:00
parent 5801ddf254
commit a7f8424355
2 changed files with 90 additions and 23 deletions

View file

@ -28,15 +28,6 @@ public final class Window {
static {
System.loadLibrary(Sys.getLibraryName());
/*
* HACK: This is nescessary to establish the Mac OS X dock icon and
* system menu. Without them, windows will misbehave.
*
* I'm accepting this hack on the assumption that awt is always present
* on an Mac OS X JVM.
*/
if (Display.getPlatform() == Display.PLATFORM_AGL)
java.awt.Toolkit.getDefaultToolkit();
}
/** Whether the window is currently created, ie. has a native peer */