summaryrefslogtreecommitdiff
path: root/wx+/std_button_layout.h
diff options
context:
space:
mode:
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