Show path from wxDirPickerCtrl in its event handler too

Similar to the parent commit, but for wxFilePickerCtrl.
This commit is contained in:
Vadim Zeitlin
2025-07-05 17:04:28 +02:00
parent b82188bab7
commit 185c4e8cbc
+6
View File
@@ -249,6 +249,12 @@ void DirPickerWidgetsPage::OnButtonReset(wxCommandEvent& WXUNUSED(event))
void DirPickerWidgetsPage::OnDirChange(wxFileDirPickerEvent& event)
{
wxLogMessage("The directory changed to '%s' (the control has '%s')."
"The current working directory is '%s'",
event.GetPath(),
m_dirPicker->GetDirName().GetFullPath(),
wxGetCwd());
wxLogMessage("The directory changed to '%s' ! The current working directory is '%s'",
event.GetPath(), wxGetCwd());
}