Thread: SVN Commit by dpage: r4749 - in trunk/pgadmin3: . src/frm

SVN Commit by dpage: r4749 - in trunk/pgadmin3: . src/frm

From
svn@pgadmin.org
Date:
Author: dpage
Date: 2005-11-20 22:49:48 +0000 (Sun, 20 Nov 2005)
New Revision: 4749

Modified:
   trunk/pgadmin3/CHANGELOG.txt
   trunk/pgadmin3/src/frm/frmBackup.cpp
Log:
Use a proper 'Save As' style dialogue for selecting backup files


Modified: trunk/pgadmin3/CHANGELOG.txt
===================================================================
--- trunk/pgadmin3/CHANGELOG.txt    2005-11-20 16:12:49 UTC (rev 4748)
+++ trunk/pgadmin3/CHANGELOG.txt    2005-11-20 22:49:48 UTC (rev 4749)
@@ -17,6 +17,7 @@
 </ul>
 <br>
 <ul>
+    <li>2005-11-20 DP  1.4.1  Use a proper 'Save As' style dialogue for selecting backup files
     <li>2005-11-20 AP  1.4.1  Don't show pk hint when editing view
     <li>2005-11-20 AP  1.4.1  Add missing NO ACTION FK constraint
     <li>2005-11-11 AP         leave pre-1.5 server config settings untouched

Modified: trunk/pgadmin3/src/frm/frmBackup.cpp
===================================================================
--- trunk/pgadmin3/src/frm/frmBackup.cpp    2005-11-20 16:12:49 UTC (rev 4748)
+++ trunk/pgadmin3/src/frm/frmBackup.cpp    2005-11-20 22:49:48 UTC (rev 4749)
@@ -124,7 +124,7 @@
     }


-    wxFileDialog file(this, title, wxGetHomeDir(), txtFilename->GetValue(), prompt);
+    wxFileDialog file(this, title, wxGetHomeDir(), txtFilename->GetValue(), prompt, wxSAVE);

     if (file.ShowModal() == wxID_OK)
     {