projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee437b7
)
fix generation of events for an initially empty wxDirPickerCtrl
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 20 Jul 2008 22:48:34 +0000
(22:48 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 20 Jul 2008 22:48:34 +0000
(22:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54732
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/gtk/filepicker.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/gtk/filepicker.cpp
b/src/gtk/filepicker.cpp
index fffa3b0da9bce15c2c73c2ecef80011fbfad6e6a..9e099cc444d6889a241b663e9608d906736ec96f 100644
(file)
--- a/
src/gtk/filepicker.cpp
+++ b/
src/gtk/filepicker.cpp
@@
-257,8
+257,14
@@
wxDirButton::~wxDirButton()
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