]> git.saurik.com Git - wxWidgets.git/blobdiff - build/script/word_macro.txt
add -mno-cygwin detection: we should treat cygwin as Windows, not Unix, when it's...
[wxWidgets.git] / build / script / word_macro.txt
index ac37329e5587c45aa23ffb79b1b0a40b334f4897..4af229149d34e1296c851dc180ac26411af52ef6 100644 (file)
@@ -26,6 +26,7 @@ Sub do_ps(mydir, myfile)
         "", Revert:=False, WritePasswordDocument:="", WritePasswordTemplate:="", _
         Format:=wdOpenFormatAuto
         ActivePrinter = "\\biolpc22\laserjet"
+    ActiveDocument.Fields.Update
     Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
         wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
         Collate:=True, Background:=False, PrintToFile:=True, PrintZoomColumn:=0, _