summaryrefslogtreecommitdiff
path: root/wx+/std_button_layout.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:01:58 +0200
committerDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:01:58 +0200
commit725e6e3c8e52ede0edec0fa15da3f148bb2f7d74 (patch)
tree739061fe661dc0bd1d200b0378365f3f47ff78be /wx+/std_button_layout.h
parent9.3 (diff)
downloadFreeFileSync-725e6e3c8e52ede0edec0fa15da3f148bb2f7d74.tar.gz
FreeFileSync-725e6e3c8e52ede0edec0fa15da3f148bb2f7d74.tar.bz2
FreeFileSync-725e6e3c8e52ede0edec0fa15da3f148bb2f7d74.zip
9.4
Diffstat (limited to 'wx+/std_button_layout.h')
-rwxr-xr-xwx+/std_button_layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/std_button_layout.h b/wx+/std_button_layout.h
index fa4a269e..0f0d607f 100755
--- a/wx+/std_button_layout.h
+++ b/wx+/std_button_layout.h
@@ -115,7 +115,7 @@ void setStandardButtonLayout(wxBoxSizer& sizer, const StdButtons& buttons)
sizer.Add(spaceRimH, 0);
//OS X: there should be at least one button following the gap after the "dangerous" no-button
- assert(buttonsTmp.btnYes);
+ assert(buttonsTmp.btnYes || buttonsTmp.btnCancel);
}
}
bgstack15