[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] Tabbed dialogs



Luke,

In wxOil/dlgmgr.cpp, in DialogManager::Create(),  you've added this:

	if( ok &&
		Mode == MODAL &&
		( pDialogWnd->IsKindOf( CLASSINFO(wxDialog) ) ||
		  DlgOp->IS_KIND_OF(DialogTabOp) ) ) // <--- this line
	{
		((wxDialog *) pDialogWnd)->ShowModal();
	}

Why do a ShowModal() on a DialogTabOp() if it is non-modal? Surely
it should be shown as per any non-modal tabbed dialog?

Alex