From d47413697b0224b037dfbe1ce7230c7c89391d90 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Mon, 7 Jan 2019 23:35:56 +0100 Subject: [PATCH] Use wxVector instead of wxArrayPtrVoid --- include/wx/propgrid/editors.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/propgrid/editors.h b/include/wx/propgrid/editors.h index 6b60d06d73..c9c8dddd31 100644 --- a/include/wx/propgrid/editors.h +++ b/include/wx/propgrid/editors.h @@ -458,7 +458,7 @@ public: wxPGMultiButton( wxPropertyGrid* pg, const wxSize& sz ); virtual ~wxPGMultiButton() {} - wxWindow* GetButton( unsigned int i ) { return (wxWindow*) m_buttons[i]; } + wxWindow* GetButton( unsigned int i ) { return m_buttons[i]; } const wxWindow* GetButton( unsigned int i ) const { return (const wxWindow*) m_buttons[i]; } @@ -486,7 +486,7 @@ protected: int GenId( int id ) const; - wxArrayPtrVoid m_buttons; + wxVector m_buttons; wxSize m_fullEditorSize; int m_buttonsWidth; };