]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/dialog.cpp
use GetFileAttributes() to check for readonly files under Win9x, the NT method doesn...
[wxWidgets.git] / src / palmos / dialog.cpp
index c368c78f564da6d59423646e858ff3fa7f373d6e..971d771aae7cdfbecef30ff1383179b4afa20024 100644 (file)
@@ -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;