diff options
Diffstat (limited to 'wx+/std_button_layout.h')
-rwxr-xr-x | wx+/std_button_layout.h | 2 |
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); } } |