#endif
#include "wx/evtloop.h"
-#include "wx/ptr_scpd.h"
+#include "wx/scopedptr.h"
// ----------------------------------------------------------------------------
// wxWin macros
// showing the dialogs
// ----------------------------------------------------------------------------
-wxWindow *wxDialog::FindSuitableParent() const
-{
- return NULL;
-}
-
bool wxDialog::Show(bool show)
{
if (show && CanDoLayoutAdaptation())
// show dialog modally
int wxDialog::ShowModal()
{
- if (show && CanDoLayoutAdaptation())
- DoLayoutAdaptation();
+ Show (true);
if (errNone == FrmDoDialog ((FormType *)wxTopLevelWindow::GetForm())) {
return 0;