X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3aa8e4ea6db0478d3bc862f59f100408bdc8732f..ca1f7cb56322e35a5bf3d9612cd14c128246947c:/src/palmos/dialog.cpp diff --git a/src/palmos/dialog.cpp b/src/palmos/dialog.cpp index c368c78f56..4358cfef5f 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 @@ -161,11 +161,6 @@ wxDialog::~wxDialog() // showing the dialogs // ---------------------------------------------------------------------------- -wxWindow *wxDialog::FindSuitableParent() const -{ - return NULL; -} - bool wxDialog::Show(bool show) { if (show && CanDoLayoutAdaptation()) @@ -181,8 +176,7 @@ void wxDialog::Raise() // show dialog modally int wxDialog::ShowModal() { - if (show && CanDoLayoutAdaptation()) - DoLayoutAdaptation(); + Show (true); if (errNone == FrmDoDialog ((FormType *)wxTopLevelWindow::GetForm())) { return 0;