[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-dev] Tabbed dialogs
- From: Alex Bligh <alex@xxxxxxxxxxx>
- Date: Sun, 30 Apr 2006 21:06:11 +0100
- Subject: [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