# HG changeset patch
# User tmodes
# Date 1795866495 -3600
#      Sat Nov 28 12:48:15 2026 +0100
# Node ID 4136ceacc3a093ef07f4079b6230186c2b892c63
# Parent  20a35388e364276ee6fd507e298e0b278651c515
Edit output parameter dialog: Use iterator from internal main wxPropertyGrid

diff -r 20a35388e364 -r 4136ceacc3a0 src/hugin1/hugin/EditOutputIniDialog.cpp
--- a/src/hugin1/hugin/EditOutputIniDialog.cpp	Sat Nov 28 12:47:07 2026 +0100
+++ b/src/hugin1/hugin/EditOutputIniDialog.cpp	Sat Nov 28 12:48:15 2026 +0100
@@ -330,7 +330,7 @@
 {
     wxFileConfig iniFile;
     // iterate all entries
-    for (wxPropertyGridIterator it = m_grid->GetIterator(wxPG_ITERATE_ALL); !it.AtEnd(); it++)
+    for (wxPropertyGridIterator it = m_grid->GetGrid()->GetIterator(wxPG_ITERATE_ALL); !it.AtEnd(); it++)
     {
         wxPGProperty* p = it.GetProperty();
         if (!p)
@@ -485,7 +485,7 @@
 wxArrayString EditOutputIniDialog::GetSections() const
 {
     wxArrayString sections;
-    for (wxPropertyGridIterator it = m_grid->GetIterator(wxPG_ITERATE_CATEGORIES); !it.AtEnd(); it++)
+    for (wxPropertyGridIterator it = m_grid->GetGrid()->GetIterator(wxPG_ITERATE_CATEGORIES); !it.AtEnd(); it++)
     {
         sections.Add(it.GetProperty()->GetLabel());
     };
@@ -496,7 +496,7 @@
 {
     wxArrayString values;
     size_t counter = 0;
-    for (wxPropertyGridIterator it = m_grid->GetIterator(wxPG_ITERATE_DEFAULT, prop); !it.AtEnd() && counter < prop->GetChildCount(); it++, ++counter)
+    for (wxPropertyGridIterator it = m_grid->GetGrid()->GetIterator(wxPG_ITERATE_DEFAULT, prop); !it.AtEnd() && counter < prop->GetChildCount(); it++, ++counter)
     {
         values.Add(it.GetProperty()->GetLabel());
     };
