Use wxVector<wxWindow*> instead of wxArrayPtrVoid

This commit is contained in:
Artur Wieczorek
2019-01-07 23:35:56 +01:00
parent 48bc92a72d
commit d47413697b

View File

@@ -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<wxWindow*> m_buttons;
wxSize m_fullEditorSize;
int m_buttonsWidth;
};