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:
@@ -297,7 +297,9 @@ void FilePickerWidgetsPage::UpdateFilePickerMode()
|
|||||||
|
|
||||||
void FilePickerWidgetsPage::OnButtonSetDir(wxCommandEvent& WXUNUSED(event))
|
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))
|
void FilePickerWidgetsPage::OnButtonReset(wxCommandEvent& WXUNUSED(event))
|
||||||
|
Reference in New Issue
Block a user