projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New eventb based Drag interface for wxDataViewCtrl
[wxWidgets.git]
/
src
/
generic
/
textdlgg.cpp
diff --git
a/src/generic/textdlgg.cpp
b/src/generic/textdlgg.cpp
index 50ea1ad378c70b41754b185d04ca26b129f08b04..16cfd7d9d5420bbe18575422cfec625275b5a93e 100644
(file)
--- a/
src/generic/textdlgg.cpp
+++ b/
src/generic/textdlgg.cpp
@@
-151,7
+151,15
@@
void wxTextEntryDialog::SetValue(const wxString& val)
}
#if wxUSE_VALIDATORS
}
#if wxUSE_VALIDATORS
+
+#if WXWIN_COMPATIBILITY_2_8
void wxTextEntryDialog::SetTextValidator( long style )
void wxTextEntryDialog::SetTextValidator( long style )
+{
+ SetTextValidator((wxTextValidatorStyle)style);
+}
+#endif
+
+void wxTextEntryDialog::SetTextValidator( wxTextValidatorStyle style )
{
wxTextValidator validator( style, &m_value );
m_textctrl->SetValidator( validator );
{
wxTextValidator validator( style, &m_value );
m_textctrl->SetValidator( validator );