if (docTemplate->GetViewClassInfo() && docTemplate->GetDocClassInfo())
{
- wxObjectListNode* node = wxDocManager::GetDocumentManager()->GetTemplates().GetFirst();
+ wxList::compatibility_iterator node = wxDocManager::GetDocumentManager()->GetTemplates().GetFirst();
while (node)
{
wxDocTemplate *t = (wxDocTemplate*) node->GetData();
if (sort)
{
- strings.Sort(wxStringSortAscending);
+ strings.Sort(); // ascending sort
// Yes, this will be slow, but template lists
// are typically short.
int j;
if (sort)
{
- strings.Sort(wxStringSortAscending);
+ strings.Sort(); // ascending sort
// Yes, this will be slow, but template lists
// are typically short.
int j;