mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
CMake file
Update to C++ 11: std::shared_ptr, for each loops Update to wxWidgets 3.0+
This commit is contained in:
@@ -258,11 +258,11 @@ void AutoReplaceWindow::refreshItem() {
|
||||
in_event = true;
|
||||
AutoReplaceP ar = list->getSelected();
|
||||
match ->Enable(ar && ar->custom);
|
||||
replace ->Enable(ar);
|
||||
replace ->Enable((bool)ar);
|
||||
matchL ->Enable(ar && ar->custom);
|
||||
replaceL ->Enable(ar);
|
||||
enabled ->Enable(ar);
|
||||
whole_word->Enable(ar);
|
||||
replaceL ->Enable((bool)ar);
|
||||
enabled ->Enable((bool)ar);
|
||||
whole_word->Enable((bool)ar);
|
||||
remove ->Enable(ar && ar->custom);
|
||||
if (ar) {
|
||||
match ->SetValue(ar->match);
|
||||
|
||||
Reference in New Issue
Block a user