[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 601ba0b 5/5: Show a busy cursor while generat
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 601ba0b 5/5: Show a busy cursor while generating a wxPdfDoc illustration |
Date: |
Thu, 15 Mar 2018 14:14:27 -0400 (EDT) |
branch: master
commit 601ba0b85ce71d5a744e5cdf2f677efa0f78cd9f
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Show a busy cursor while generating a wxPdfDoc illustration
---
ledger_pdf_generator_wx.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index 1815c53..20a4825 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -43,6 +43,7 @@
#include <wx/image.h>
#include <wx/log.h>
+#include <wx/utils.h> // wxBusyCursor
#include <wx/html/m_templ.h>
@@ -2933,6 +2934,8 @@ void ledger_pdf_generator_wx::write
,fs::path const& output
)
{
+ wxBusyCursor reverie;
+
std::unique_ptr<pdf_illustration> pdf_ill;
auto const z = ledger.ledger_type();