build fixes for wxUSE_VALIDATORS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2120,12 +2120,14 @@ bool wxArrayEditorDialog::Create( wxWindow *parent,
|
||||
wxBoxSizer* rowsizer = new wxBoxSizer( wxHORIZONTAL );
|
||||
m_edValue = new wxTextCtrl(this,21,wxEmptyString,
|
||||
wxDefaultPosition,wxDefaultSize,wxTE_PROCESS_ENTER);
|
||||
#if wxUSE_VALIDATORS
|
||||
wxValidator* validator = GetTextCtrlValidator();
|
||||
if ( validator )
|
||||
{
|
||||
m_edValue->SetValidator( *validator );
|
||||
delete validator;
|
||||
}
|
||||
#endif
|
||||
rowsizer->Add( m_edValue,
|
||||
1, wxALIGN_LEFT|wxALIGN_CENTRE_VERTICAL|wxALL, spacing );
|
||||
|
||||
|
Reference in New Issue
Block a user