X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3aa8e4ea6db0478d3bc862f59f100408bdc8732f..faf224da98d020e01e94c711d8c20b6e3e1401ad:/src/palmos/dialog.cpp diff --git a/src/palmos/dialog.cpp b/src/palmos/dialog.cpp index c368c78f56..32989e6eef 100644 --- a/src/palmos/dialog.cpp +++ b/src/palmos/dialog.cpp @@ -36,7 +36,7 @@ #endif #include "wx/evtloop.h" -#include "wx/ptr_scpd.h" +#include "wx/scopedptr.h" // ---------------------------------------------------------------------------- // wxWin macros @@ -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;