]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
unhide the other HitTest() overload
[wxWidgets.git] / src / common / docview.cpp
index d881e212d1fa55954bfefde97d133d6515d08851..6e5f2497b73f3175f5a930161649eea831a37b3c 100644 (file)
@@ -261,7 +261,7 @@ bool wxDocument::SaveAs()
 
     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();
@@ -1613,7 +1613,7 @@ wxDocTemplate *wxDocManager::SelectDocumentType(wxDocTemplate **templates,
 
     if (sort)
     {
-        strings.Sort(wxStringSortAscending);
+        strings.Sort(); // ascending sort
         // Yes, this will be slow, but template lists
         // are typically short.
         int j;
@@ -1692,7 +1692,7 @@ wxDocTemplate *wxDocManager::SelectViewType(wxDocTemplate **templates,
 
     if (sort)
     {
-        strings.Sort(wxStringSortAscending);
+        strings.Sort(); // ascending sort
         // Yes, this will be slow, but template lists
         // are typically short.
         int j;