Don't call busy cursor when creating a message
dialog - it takes longer to set the cursor than to create the dialog under GTK. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -63,8 +63,6 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent,
|
||||
{
|
||||
m_dialogStyle = style;
|
||||
|
||||
wxBeginBusyCursor();
|
||||
|
||||
wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
|
||||
|
||||
wxBoxSizer *icon_text = new wxBoxSizer( wxHORIZONTAL );
|
||||
@@ -103,8 +101,6 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent,
|
||||
}
|
||||
|
||||
Centre( wxBOTH | wxCENTER_FRAME);
|
||||
|
||||
wxEndBusyCursor();
|
||||
}
|
||||
|
||||
void wxGenericMessageDialog::OnYes(wxCommandEvent& WXUNUSED(event))
|
||||
|
Reference in New Issue
Block a user