Changeset 56232

Show
Ignore:
Timestamp:
10/11/08 09:03:59 (6 weeks ago)
Author:
FM
Message:

init the file and dir pickers with dummy files/folders

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wxWidgets/trunk/utils/screenshotgen/src/screenshot_main.cpp

    r56231 r56232  
    114114                m_listCtrl1->SetItem(index, 1, wxString::Format("%d", index)); 
    115115        } 
     116 
     117        // Init file and dir pickers 
     118        wxString file, dir; 
     119#if defined(__WXMSW__) 
     120        file = "C:\\Windows\\explorer.exe"; 
     121        dir = "C:\\Windows"; 
     122#else 
     123        file = "/bin/bash"; 
     124        dir = "/home"; 
     125#endif 
     126        m_filePicker1->SetPath(file); 
     127        m_dirPicker1->SetPath(dir); 
    116128 
    117129    // Check the first item in wxCheckListBox