summaryrefslogtreecommitdiff
path: root/src/wx/editable_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/editable_list.h')
-rw-r--r--src/wx/editable_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/editable_list.h b/src/wx/editable_list.h
index 481a14741..4119b889e 100644
--- a/src/wx/editable_list.h
+++ b/src/wx/editable_list.h
@@ -132,7 +132,7 @@ private:
}
std::vector<T> all = _get ();
- assert (item >= 0 && item < int (all.size ()));
+ DCPOMATIC_ASSERT (item >= 0 && item < int (all.size ()));
T copy (all[item]);
add_to_control (copy);
@@ -149,7 +149,7 @@ private:
}
std::vector<T> all = _get ();
- assert (item >= 0 && item < int (all.size ()));
+ DCPOMATIC_ASSERT (item >= 0 && item < int (all.size ()));
S* dialog = new S (this);
dialog->set (all[item]);