]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/helpview/src/helpview.cpp
Fix to FIXME: better nothing than broken comparison.
[wxWidgets.git] / utils / helpview / src / helpview.cpp
index 60b0f7e78f667510918c7488b03ae08801865ece..c6a0a84576074acc0e8a8577279c90213e87d46f 100644 (file)
@@ -68,7 +68,8 @@ bool hvApp::OnInit()
 
     int istyle = wxHF_DEFAULT_STYLE;
 
-    wxString service, windowName, book[10], titleFormat, argStr;
+    wxString service, windowName, titleFormat, argStr;
+    wxString book[10];
     int bookCount = 0;
     int i;
     bool hasService = false;
@@ -229,10 +230,10 @@ bool hvApp::OnInit()
 int hvApp::OnExit()
 {
 #if hvUSE_IPC
-    wxNode* node = m_connections.GetFirst();
+    wxObjectList::compatibility_iterator node = m_connections.GetFirst();
     while (node)
     {
-        wxNode* next = node->GetNext();
+        wxObjectList::compatibility_iterator next = node->GetNext();
         hvConnection* connection = (hvConnection*) node->GetData();
         connection->Disconnect();
         delete connection;