// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_DIALOG_H_
// -------------------------------
// override some base class virtuals
- virtual bool Show(bool show = TRUE);
+ virtual bool Show(bool show = true);
virtual void Raise();
// use the other ctor
wxDEPRECATED( wxDialog(wxWindow *parent,
const wxString& title, bool modal,
- int x = -1, int y= -1, int width = 500, int height = 500,
+ int x = wxDefaultCoord, int y = wxDefaultCoord, int width = 500, int height = 500,
long style = wxDEFAULT_DIALOG_STYLE,
const wxString& name = wxDialogNameStr) );
// common part of all ctors
void Init();
+ // end either modal or modeless dialog
+ void EndDialog(int rc);
+
private:
wxWindow* m_oldFocus;
bool m_endModalCalled; // allow for closing within InitDialog