@@ -71,11 +71,11 @@ } catch (Exception e) { // No exception should be thrown by native dialog code, // but if it is we need to trap it so the thread does // not hide is called and the thread doesn't hang. } - ((WPrintDialog)target).hide(); + ((WPrintDialog)target).setVisible(false); } }).start(); } synchronized void setHWnd(long hwnd) {