X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fplat%2FWin32.java;h=65f79ecc39f15b2337483e706e327bf03efac30a;hb=8192dcbd3ba21e385ef2b9fdcb5d9eb98b3a1f25;hp=27ce98b7229d753dece968a02407593a5578103c;hpb=27d9c4dfdd8cb966bd80c2e4ac5a072d7fb133d0;p=org.ibex.core.git diff --git a/src/org/xwt/plat/Win32.java b/src/org/xwt/plat/Win32.java index 27ce98b..65f79ec 100644 --- a/src/org/xwt/plat/Win32.java +++ b/src/org/xwt/plat/Win32.java @@ -117,6 +117,11 @@ public class Win32 extends GCJ { protected native String _getClipBoard(); protected native void _setClipBoard(String s); + protected native boolean _newBrowserWindow_(String url); + protected void _newBrowserWindow(String url) { + if (!_newBrowserWindow_(url)) + if (Log.on) Log.log(this, "ShellExecuteEx() failed trying to open url " + url); + } // Win32Surface ////////////////////////////////////////////////////////////////////////////