Patch level : 2.1 nopatch
Files correlati : Ricompilazione Demo : [ ] Commento : Migliorato support per Arcrobat Writer, che cambiava al volo la directory corrente di Campo, il quale non gradiva molto la cosa. git-svn-id: svn://10.65.10.50/trunk@12219 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
5bb16d6e83
commit
798e8cfb17
@ -748,6 +748,8 @@ void DestroyAbortWindow()
|
|||||||
|
|
||||||
BOOLEAN xvt_print_start_thread(BOOLEAN(*print_fcn)(long), long data)
|
BOOLEAN xvt_print_start_thread(BOOLEAN(*print_fcn)(long), long data)
|
||||||
{
|
{
|
||||||
|
const wxString strDir = ::wxGetCwd(); // Memorizzo la directory corrente che Acrobat cambia!
|
||||||
|
|
||||||
wxBeginBusyCursor();
|
wxBeginBusyCursor();
|
||||||
m_po = new TwxPrintOut;
|
m_po = new TwxPrintOut;
|
||||||
wxEndBusyCursor();
|
wxEndBusyCursor();
|
||||||
@ -761,6 +763,8 @@ BOOLEAN xvt_print_start_thread(BOOLEAN(*print_fcn)(long), long data)
|
|||||||
|
|
||||||
delete m_po; m_po = NULL;
|
delete m_po; m_po = NULL;
|
||||||
|
|
||||||
|
::wxSetWorkingDirectory(strDir); // Ripristino la directory corrente
|
||||||
|
|
||||||
return aborted;
|
return aborted;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user