-protected:
- //
- // Override more base class virtuals
- //
- virtual void DoSetClientSize( int nWidth
- ,int nHeight
- );
- virtual void DoGetPosition( int* pnX
- ,int* pnY
- ) const;
- //
- // Show modal dialog and enter modal loop
- //
- void DoShowModal(void);
+#if WXWIN_COMPATIBILITY_2_6
+
+ // Constructor with a modal flag, but no window id - the old convention
+ wxDEPRECATED( wxDialog( wxWindow* pParent
+ ,const wxString& rsTitle
+ ,bool bModal
+ ,int nX = -1
+ ,int nY = -1
+ ,int nWidth = 500
+ ,int nHeight = 500
+ ,long lStyle = wxDEFAULT_DIALOG_STYLE
+ ,const wxString& rsName = wxDialogNameStr
+ ) );
+
+ // just call Show() or ShowModal()
+ wxDEPRECATED( void SetModal(bool bFlag) );
+
+ // use IsModal()
+ wxDEPRECATED( bool IsModalShowing() const );