X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da817fa6ebbe54afe26b7536255699294abe4dfd..01c54165d1182cc74d8e5d43cdb1985902af0b2f:/src/generic/propdlg.cpp diff --git a/src/generic/propdlg.cpp b/src/generic/propdlg.cpp index 80b24e73f8..aa4589b2b9 100644 --- a/src/generic/propdlg.cpp +++ b/src/generic/propdlg.cpp @@ -97,11 +97,12 @@ void wxPropertySheetDialog::LayoutDialog(int centreFlags) GetSizer()->SetSizeHints(this); if (centreFlags) Centre(centreFlags); +#else + wxUnusedVar(centreFlags); #endif #if defined(__SMARTPHONE__) if (m_bookCtrl) m_bookCtrl->SetFocus(); - wxUnusedVar(centreFlags); #endif }