remove ancient SetModal(), it was deprecated long ago and is not present in wxMSW or wxOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b873ba78fd
commit
ddb19489c0
@ -39,7 +39,6 @@ public:
|
||||
virtual int ShowModal();
|
||||
virtual void EndModal( int retCode );
|
||||
virtual bool IsModal() const;
|
||||
void SetModal( bool modal );
|
||||
|
||||
// implementation
|
||||
// --------------
|
||||
|
@ -554,19 +554,6 @@ public:
|
||||
*/
|
||||
static wxDialogLayoutAdapter* SetLayoutAdapter(wxDialogLayoutAdapter* adapter);
|
||||
|
||||
/**
|
||||
@deprecated This function doesn't work for all ports, just use
|
||||
ShowModal() to show a modal dialog instead.
|
||||
|
||||
Allows the programmer to specify whether the dialog box is modal
|
||||
(Show() blocks control until the dialog is hidden) or modeless (control
|
||||
returns immediately).
|
||||
|
||||
@param flag
|
||||
If @true, the dialog will be modal, otherwise it will be modeless.
|
||||
*/
|
||||
void SetModal(bool flag);
|
||||
|
||||
/**
|
||||
Sets the return code for this window.
|
||||
|
||||
|
@ -95,11 +95,6 @@ bool wxDialog::IsModal() const
|
||||
return m_modalShowing;
|
||||
}
|
||||
|
||||
void wxDialog::SetModal( bool WXUNUSED(flag) )
|
||||
{
|
||||
wxFAIL_MSG( wxT("wxDialog:SetModal obsolete now") );
|
||||
}
|
||||
|
||||
// Workaround for Ubuntu overlay scrollbar, which adds our GtkWindow to a
|
||||
// private window group in a GtkScrollbar realize handler. This breaks the grab
|
||||
// done by gtk_window_set_modal(), and allows menus and toolbars in the parent
|
||||
|
Loading…
Reference in New Issue
Block a user