projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
24e059c
)
Copy recently added wxGenericValidator fields in Copy().
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 11 Jul 2011 14:51:32 +0000
(14:51 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 11 Jul 2011 14:51:32 +0000
(14:51 +0000)
The pointers added in r68217 must be also initialized when creating a copy of
the validator.
Closes #13304.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68225
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/valgen.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/valgen.cpp
b/src/common/valgen.cpp
index ccbcc7c07fdf634e9611ae18cb82e31415f11c60..bc5d8c806f16d0fa701a33192b9ea1bd5552c249 100644
(file)
--- a/
src/common/valgen.cpp
+++ b/
src/common/valgen.cpp
@@
-121,6
+121,9
@@
bool wxGenericValidator::Copy(const wxGenericValidator& val)
#if wxUSE_DATETIME
m_pDateTime = val.m_pDateTime;
#endif // wxUSE_DATETIME
#if wxUSE_DATETIME
m_pDateTime = val.m_pDateTime;
#endif // wxUSE_DATETIME
+ m_pFileName = val.m_pFileName;
+ m_pFloat = val.m_pFloat;
+ m_pDouble = val.m_pDouble;
return true;
}
return true;
}