2004/01/20 20:33:47
[org.ibex.core.git] / src / org / xwt / plat / Win32.cc
index c278998..1b3ccea 100644 (file)
@@ -146,6 +146,12 @@ static unsigned char hand_cursor_and[32 * 4] = {
   0xFF, 0xFF, 0xFF, 0xFF
 };
 
+void org::xwt::plat::Win32::natPreInit() {
+    if (org::xwt::util::Log::verbose) {
+        AllocConsole();
+        freopen("CONOUT$", "w+t", stderr);
+    }
+}
 
 void org::xwt::plat::Win32::natInit() {