+// PAL8065: san -- Safe access to widgets from secondary thread
+typedef TVoidMemFunEvent<SUPERVGUI_CanvasArray> TCanvasArrayEvent;
+typedef TVoidMemFunEvent<SUPERVGUI_Canvas> TCanvasEvent;
+
+class UpdateEvent : public SALOME_Event
+{
+ public:
+ UpdateEvent( QAD_Study* study, bool updSel = true ) : myStudy( study ), myUpdateSel( updSel ) {}
+ virtual void Execute(){
+ if ( myStudy ) myStudy->updateObjBrowser( myUpdateSel );
+ }
+
+ private:
+ QAD_Study* myStudy;
+ bool myUpdateSel;
+};
+// PAL8065: san