-wxString wxFileDialog::GetDirectory() const
-{
- wxString currentDir( m_fc.GetDirectory() );
- if (currentDir.empty())
- {
- // m_fc.GetDirectory() will return empty until the dialog has been shown
- // in which case use any previously provided value
- currentDir = m_dir;
- }
- return currentDir;
-}
-