summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ee437b7)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54732
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_dialog->m_widget = NULL;
}
m_dialog->m_widget = NULL;
}
-void wxDirButton::SetPath(const wxString &str)
+void wxDirButton::SetPath(const wxString& str)
+ if ( m_path == str )
+ {
+ // don't do anything and especially don't set m_bIgnoreNextChange
+ return;
+ }
+
m_path = str;
// wxDirButton uses the "current-folder-changed" signal which is triggered also
m_path = str;
// wxDirButton uses the "current-folder-changed" signal which is triggered also