Patch level : 2.0 618
Files correlati : xvaga.dll Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/trunk@11532 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
dab1c26e8a
commit
6dbcc10ec5
@ -3671,8 +3671,10 @@ public:
|
||||
|
||||
wxThread::ExitCode TIconizeTaskThread::Entry()
|
||||
{
|
||||
Sleep(1000);
|
||||
((wxFrame*)_task_win)->Iconize();
|
||||
Sleep(750);
|
||||
wxFrame* frame = (wxFrame*)_task_win;
|
||||
if (!frame->IsEnabled()) // Il programma e' ancora in attesa
|
||||
frame->Iconize();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -3699,9 +3701,11 @@ long xvt_sys_execute(const char* cmdline, BOOLEAN sync, BOOLEAN iconizetask)
|
||||
|
||||
exitcode = wxExecute(cmdline, wxEXEC_SYNC);
|
||||
|
||||
((wxFrame*)_task_win)->Restore();
|
||||
wxFrame* frame = (wxFrame*)_task_win;
|
||||
if (frame->IsIconized())
|
||||
frame->Restore();
|
||||
wxEnableTopLevelWindows(TRUE);
|
||||
_task_win->Raise();
|
||||
frame->Raise();
|
||||
}
|
||||
else
|
||||
exitcode = wxExecute(cmdline, wxEXEC_SYNC);
|
||||
|
Loading…
x
Reference in New Issue
Block a user