Fix to factory template.
Originally committed to SVN as r869.
This commit is contained in:
parent
62bdfae3bf
commit
8aee6bd50b
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ protected:
|
|||
|
||||
public:
|
||||
static wxArrayString GetFactoryList(wxString favourite=_T("")) {
|
||||
if (factories == NULL) factories = new std::map<wxString,T*>;
|
||||
wxArrayString list;
|
||||
favourite = favourite.Lower();
|
||||
for (std::map<wxString,T*>::iterator cur=factories->begin();cur!=factories->end();cur++) {
|
||||
|
|
Loading…
Reference in a new issue