X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2fc40b4786f7ae8c255ce1184441bd94d9554a0..42dfe2b25975537db8bb54ab104385748ff7d175:/src/palmos/dialog.cpp?ds=inline diff --git a/src/palmos/dialog.cpp b/src/palmos/dialog.cpp index 32535b9bca..971d771aae 100644 --- a/src/palmos/dialog.cpp +++ b/src/palmos/dialog.cpp @@ -168,6 +168,9 @@ wxWindow *wxDialog::FindSuitableParent() const bool wxDialog::Show(bool show) { + if (show && CanDoLayoutAdaptation()) + DoLayoutAdaptation(); + return wxTopLevelWindowPalm::Show (show); } @@ -178,6 +181,8 @@ void wxDialog::Raise() // show dialog modally int wxDialog::ShowModal() { + Show (true); + if (errNone == FrmDoDialog ((FormType *)wxTopLevelWindow::GetForm())) { return 0; }