Commit 9200a9da authored by dickelbeck's avatar dickelbeck

wxBeginBusyCursor

parent 67e726c6
...@@ -632,9 +632,7 @@ void DrcDialog::OnStartdrcClick( wxCommandEvent& event ) ...@@ -632,9 +632,7 @@ void DrcDialog::OnStartdrcClick( wxCommandEvent& event )
DelDRCMarkers(); DelDRCMarkers();
SetCursor( wxCursor( wxCURSOR_WAIT ) ); wxBeginBusyCursor();
wxYield(); // attempt to process the cursor change
// run all the tests, with no UI at this time. // run all the tests, with no UI at this time.
m_tester->RunTests(); m_tester->RunTests();
...@@ -662,7 +660,7 @@ void DrcDialog::OnStartdrcClick( wxCommandEvent& event ) ...@@ -662,7 +660,7 @@ void DrcDialog::OnStartdrcClick( wxCommandEvent& event )
popupWindow.ShowModal(); popupWindow.ShowModal();
} }
SetCursor( wxCursor( wxCURSOR_ARROW ) ); wxEndBusyCursor();
RedrawDrawPanel(); RedrawDrawPanel();
} }
...@@ -710,9 +708,7 @@ void DrcDialog::OnListUnconnectedClick( wxCommandEvent& event ) ...@@ -710,9 +708,7 @@ void DrcDialog::OnListUnconnectedClick( wxCommandEvent& event )
DelDRCMarkers(); DelDRCMarkers();
SetCursor( wxCursor( wxCURSOR_WAIT ) ); wxBeginBusyCursor();
wxYield(); // attempt to process the cursor change
m_tester->ListUnconnectedPads(); m_tester->ListUnconnectedPads();
...@@ -738,7 +734,7 @@ void DrcDialog::OnListUnconnectedClick( wxCommandEvent& event ) ...@@ -738,7 +734,7 @@ void DrcDialog::OnListUnconnectedClick( wxCommandEvent& event )
popupWindow.ShowModal(); popupWindow.ShowModal();
} }
SetCursor( wxCursor( wxCURSOR_ARROW ) ); wxEndBusyCursor();
/* there is currently nothing visible on the DrawPanel for unconnected pads /* there is currently nothing visible on the DrawPanel for unconnected pads
RedrawDrawPanel(); RedrawDrawPanel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment