diff dwtest.c @ 1294:4bc8b6ffbe1e

Code changes to enable default filename on Windows with dw_file_browse(). Also added an example in the test program.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 01 Nov 2011 10:21:48 +0000
parents b99b0b2c2826
children dbd507f42947
line wrap: on
line diff
--- a/dwtest.c	Tue Nov 01 06:01:26 2011 +0000
+++ b/dwtest.c	Tue Nov 01 10:21:48 2011 +0000
@@ -591,7 +591,7 @@
 int DWSIGNAL browse_file_callback(HWND window, void *data)
 {
     char *tmp;
-    tmp = dw_file_browse("Pick a file", ".", "c", DW_FILE_OPEN );
+    tmp = dw_file_browse("Pick a file", "dwtest.c", "c", DW_FILE_OPEN );
     if ( tmp )
     {
         if ( current_file )