projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a unit test for new events (see #10000)
[wxWidgets.git]
/
src
/
palmos
/
dialog.cpp
diff --git
a/src/palmos/dialog.cpp
b/src/palmos/dialog.cpp
index 32535b9bca05bd15525b366072b7309a6e0f8628..971d771aae7cdfbecef30ff1383179b4afa20024 100644
(file)
--- a/
src/palmos/dialog.cpp
+++ b/
src/palmos/dialog.cpp
@@
-168,6
+168,9
@@
wxWindow *wxDialog::FindSuitableParent() const
bool wxDialog::Show(bool show)
{
bool wxDialog::Show(bool show)
{
+ if (show && CanDoLayoutAdaptation())
+ DoLayoutAdaptation();
+
return wxTopLevelWindowPalm::Show (show);
}
return wxTopLevelWindowPalm::Show (show);
}
@@
-178,6
+181,8
@@
void wxDialog::Raise()
// show dialog modally
int wxDialog::ShowModal()
{
// show dialog modally
int wxDialog::ShowModal()
{
+ Show (true);
+
if (errNone == FrmDoDialog ((FormType *)wxTopLevelWindow::GetForm())) {
return 0;
}
if (errNone == FrmDoDialog ((FormType *)wxTopLevelWindow::GetForm())) {
return 0;
}