+ if( !CheckValidator() )
+ return false;
+
+ if ( m_stringValue )
+ {
+ wxTextCtrl *control = (wxTextCtrl *) m_validatorWindow;
+ *m_stringValue = control->GetValue();
+ }
+
+ return true;
+}
+
+#if WXWIN_COMPATIBILITY_2_4
+
+inline void wxCopyStringListToArrayString(wxArrayString& to, const wxStringList& from)
+{
+ to.Clear();
+
+ for(wxStringList::Node* pNode = from.GetFirst(); pNode; pNode = pNode->GetNext())
+ to.Add(pNode->GetData());
+}
+
+inline void wxCopyArrayStringToStringList(wxStringList& to, const wxArrayString& from)
+{
+ to.Clear();