Use wxArrayString instead of vector<wxString> in BUS_ALIAS

Fixes linker errors on Windows/VC
See: https://trac.wxwidgets.org/ticket/10884
This commit is contained in:
Jon Evans 2019-11-24 12:30:29 -05:00
parent 342c8941b5
commit f23e151b90
1 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,8 @@
#define _BUS_ALIAS_H
#include <memory>
#include <vector>
#include <wx/string.h>
#include <wx/arrstr.h>
class SCH_SCREEN;
@ -66,7 +66,7 @@ public:
return m_members.size();
}
std::vector< wxString >& Members()
wxArrayString& Members()
{
return m_members;
}
@ -87,7 +87,7 @@ protected:
wxString m_name;
std::vector< wxString > m_members;
wxArrayString m_members;
/**
* The bus alias editor dialog can edit aliases from all open sheets.