Added parent window handle to the creation method
of the file transfer dialog.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@409 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/FTDialog.cxx b/vncviewer/FTDialog.cxx
index 423a1c8..ece35ae 100644
--- a/vncviewer/FTDialog.cxx
+++ b/vncviewer/FTDialog.cxx
@@ -52,7 +52,7 @@
 }
 
 bool
-FTDialog::createFTDialog()
+FTDialog::createFTDialog(HWND hwndParent)
 {
   if (m_hwndFTDialog != NULL) {
     ShowWindow(m_hwndFTDialog, SW_SHOW);
@@ -62,7 +62,7 @@
 
   m_hwndFTDialog = CreateDialogParam(m_hInstance, 
                                      MAKEINTRESOURCE(IDD_FILETRANSFER_DLG),
-                                     NULL, 
+                                     hwndParent, 
                                      (DLGPROC) FTDialogProc,
                                      (LONG) this);
   
@@ -277,6 +277,7 @@
   m_pRemoteLV->addItems(pFI);
   strcpy(m_szRemotePath, m_szRemotePathTmp);
   SetWindowText(m_hwndRemotePath, m_szRemotePath);
+  UpdateWindow(m_hwndFTDialog);
 }
 
 void