Applied #10828 (Hourglass in wxDocManager::OnPreview)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-09-24 13:54:46 +00:00
parent c6fb1da330
commit c9f62632e9

View File

@@ -1026,6 +1026,7 @@ void wxDocManager::OnPrint(wxCommandEvent& WXUNUSED(event))
void wxDocManager::OnPreview(wxCommandEvent& WXUNUSED(event))
{
#if wxUSE_PRINTING_ARCHITECTURE
wxBusyCursor busy;
wxView *view = GetCurrentView();
if (!view)
return;