#include "SalomeApp_Study.h"
#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
#include "SALOME_Event.hxx"
#include "SALOME_ListIO.hxx"
#include <vtkRenderer.h>
#include <vtkRenderWindow.h>
+#include <qapplication.h>
+
using namespace std;
#ifdef _DEBUG_
//if (CheckStudy(myStudyDocument)) {
if (myApplication) {
TViewFrame* pView = new TViewFrame (myApplication);
- if (pView->Create(1))
+ if (pView->Create(1)) {
myResult = pView->_this();
+ qApp->processEvents(); // Fix for bug 9929
+ }
}
}
};
SALOMEDS::SObject_var aSObject = myPrs->GetSObject();
CORBA::String_var anEntry = aSObject->GetID();
- SalomeApp_SelectionMgr* aSelectionMgr = anApp->selectionMgr();
+ LightApp_SelectionMgr* aSelectionMgr = anApp->selectionMgr();
SALOME_ListIO aListIO, aNewListIO;
aSelectionMgr->selectedObjects(aListIO);
SALOMEDS::SObject_var aSObject = thePrs->GetSObject();
CORBA::String_var anEntry = aSObject->GetID();
- SalomeApp_SelectionMgr* aSelectionMgr = anApp->selectionMgr();
+ LightApp_SelectionMgr* aSelectionMgr = anApp->selectionMgr();
SALOME_ListIO aListIO, aNewListIO;
aSelectionMgr->selectedObjects(aListIO);
SALOMEDS::SObject_var aSObject = thePrs->GetSObject();
CORBA::String_var anEntry = aSObject->GetID();
- SalomeApp_SelectionMgr* aSelectionMgr = anApp->selectionMgr();
+ LightApp_SelectionMgr* aSelectionMgr = anApp->selectionMgr();
SALOME_ListIO aListIO, aNewListIO;
aSelectionMgr->selectedObjects(aListIO);