X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fplat%2FWin32.java;h=a17323b05edbb6a90eb68c85b175efe02b23a005;hb=e2bc1a03c3de8c79aeb597f918123085d59d2896;hp=422bcc2f42ec023f507aa6ee193560c8d655d564;hpb=39f02f6e4f9222af01b3b8b21e06df26f40337f7;p=org.ibex.core.git diff --git a/src/org/xwt/plat/Win32.java b/src/org/xwt/plat/Win32.java index 422bcc2..a17323b 100644 --- a/src/org/xwt/plat/Win32.java +++ b/src/org/xwt/plat/Win32.java @@ -9,8 +9,6 @@ import java.io.*; /** Platform specific code for GCJ-compiled Win32 binaries */ public class Win32 extends GCJ { - public static void main(String[] s) throws Exception { Main.main(s); } - // Initialization //////////////////////////////////////////////////////////////////////////// // Win32 often asks for a DC/Handle when it doesn't really need one @@ -40,10 +38,11 @@ public class Win32 extends GCJ { public static native String getTempPath(); public static native void natInit(); + public static native void natPreInit(); protected native String _fileDialog(String suggestedFileName, boolean write); - public Win32() { } + public Win32() { natPreInit(); } public void postInit() { new Thread() { public void run() { natInit(); } }.start();