From 6c0e98a2727d07e1fbb38b78c27d68e98ad09465 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Sat, 13 Jun 2020 00:01:53 -0300 Subject: Device context implemented --- Project/GraphAutoLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/GraphAutoLayout.cpp') diff --git a/Project/GraphAutoLayout.cpp b/Project/GraphAutoLayout.cpp index bf3bc91..b978a97 100644 --- a/Project/GraphAutoLayout.cpp +++ b/Project/GraphAutoLayout.cpp @@ -39,7 +39,7 @@ void GraphAutoLayout::AddLink(size_t index1, size_t index2, float weight) void GraphAutoLayout::Compute(size_t iterations) { - wxProgressDialog pbd(_("Importing..."), _("Initializing..."), iterations, NULL, + wxProgressDialog pbd(_("Importing..."), _("Initializing..."), iterations, nullptr, wxPD_APP_MODAL | wxPD_AUTO_HIDE | wxPD_CAN_ABORT | wxPD_SMOOTH); float nodesCount = m_nodes.size(); -- cgit