git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73334
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual int ShowModal();
virtual void EndModal( int retCode );
virtual bool IsModal() const;
virtual int ShowModal();
virtual void EndModal( int retCode );
virtual bool IsModal() const;
- void SetModal( bool modal );
// implementation
// --------------
// implementation
// --------------
*/
static wxDialogLayoutAdapter* SetLayoutAdapter(wxDialogLayoutAdapter* adapter);
*/
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.
/**
Sets the return code for this window.
-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
// 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