X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d577449426e6300511e2c174a111c3599d0c31e2..f55d9f749b61b3a8435c58a285ac096726d15040:/include/wx/propgrid/props.h diff --git a/include/wx/propgrid/props.h b/include/wx/propgrid/props.h index b21d743621..5c38115056 100644 --- a/include/wx/propgrid/props.h +++ b/include/wx/propgrid/props.h @@ -4,7 +4,7 @@ // Author: Jaakko Salli // Modified by: // Created: 2007-03-28 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) Jaakko Salli // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// @@ -213,13 +213,15 @@ WX_PG_IMPLEMENT_CUSTOM_COLOUR_PROPERTY_USES_WXCOLOUR2(CLASSNAME, \ // Common function exit #define WX_PG_DOGETVALIDATOR_EXIT(VALIDATOR) \ s_ptr = VALIDATOR; \ - wxPGGlobalVars->m_arrValidators.Add( (void*) VALIDATOR ); \ + wxPGGlobalVars->m_arrValidators.push_back( VALIDATOR ); \ return VALIDATOR; // ----------------------------------------------------------------------- #ifndef SWIG +#include "wx/textctrl.h" + /** @class wxPGInDialogValidator @ingroup classes Creates and manages a temporary wxTextCtrl for validation purposes. @@ -1047,8 +1049,8 @@ wxValidator* PROPNAME::DoGetValidator () const \ // wxArrayEditorDialog // ----------------------------------------------------------------------- -#include "wx/textctrl.h" #include "wx/button.h" +#include "wx/dialog.h" #include "wx/listbox.h" #define wxAEDIALOG_STYLE \