X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3aa8e4ea6db0478d3bc862f59f100408bdc8732f..3201a1046ba71ba8e5ef2ed694fde34d12f743f3:/src/palmos/dialog.cpp diff --git a/src/palmos/dialog.cpp b/src/palmos/dialog.cpp index c368c78f56..971d771aae 100644 --- a/src/palmos/dialog.cpp +++ b/src/palmos/dialog.cpp @@ -181,8 +181,7 @@ void wxDialog::Raise() // show dialog modally int wxDialog::ShowModal() { - if (show && CanDoLayoutAdaptation()) - DoLayoutAdaptation(); + Show (true); if (errNone == FrmDoDialog ((FormType *)wxTopLevelWindow::GetForm())) { return 0;