Add an informational message to the file picker page of widgets sample.

No real changes, just indicate that clicking the "Set initial directory"
button was indeed taken into account.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-09-09 13:35:12 +00:00
parent 06a419244f
commit 77e3a24a01

View File

@@ -297,7 +297,9 @@ void FilePickerWidgetsPage::UpdateFilePickerMode()
void FilePickerWidgetsPage::OnButtonSetDir(wxCommandEvent& WXUNUSED(event))
{
m_filePicker->SetInitialDirectory(m_textInitialDir->GetValue());
const wxString& dir = m_textInitialDir->GetValue();
m_filePicker->SetInitialDirectory(dir);
wxLogMessage("Initial directory set to \"%s\"", dir);
}
void FilePickerWidgetsPage::OnButtonReset(wxCommandEvent& WXUNUSED(event))