X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a45f904dea79c37cfd02b001ff9006849e0041db..850df2d78866c3edcf848103b5dbc7e7fa1ee5fa:/src/common/dlgcmn.cpp diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index 8e771902ba..5621cbc6a9 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -192,7 +192,9 @@ wxSizer *wxDialogBase::CreateButtonSizer(long flags) { sizer = CreateStdDialogButtonSizer(flags); } -#endif // wxUSE_BUTTON +#else // !wxUSE_BUTTON + wxUnusedVar(flags); +#endif // wxUSE_BUTTON/!wxUSE_BUTTON #endif // __SMARTPHONE__/!__SMARTPHONE__