diff --git a/src/generic/colrdlgg.cpp b/src/generic/colrdlgg.cpp index dba671b750..2222b7afbe 100644 --- a/src/generic/colrdlgg.cpp +++ b/src/generic/colrdlgg.cpp @@ -16,7 +16,6 @@ #ifndef WX_PRECOMP #include "wx/settings.h" - #include "wx/utils.h" #include "wx/intl.h" #include "wx/dialog.h" #include "wx/listbox.h" @@ -316,8 +315,6 @@ void wxGenericColourDialog::CalculateMeasurements() void wxGenericColourDialog::CreateWidgets() { - wxBeginBusyCursor(); - #if wxCLRDLGG_USE_PREVIEW_WITH_ALPHA CreateCustomBitmaps(); #endif @@ -402,8 +399,6 @@ void wxGenericColourDialog::CreateWidgets() topSizer->Fit( this ); Centre( wxBOTH ); - - wxEndBusyCursor(); } void wxGenericColourDialog::InitializeColours(void) diff --git a/src/generic/numdlgg.cpp b/src/generic/numdlgg.cpp index 9b4fd68895..1096231e69 100644 --- a/src/generic/numdlgg.cpp +++ b/src/generic/numdlgg.cpp @@ -25,7 +25,6 @@ #ifndef WX_PRECOMP #include - #include "wx/utils.h" #include "wx/dialog.h" #include "wx/button.h" #include "wx/stattext.h" @@ -86,8 +85,6 @@ bool wxNumberEntryDialog::Create(wxWindow *parent, m_max = max; m_min = min; - wxBeginBusyCursor(); - wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL ); #if wxUSE_STATTEXT // 1) text message @@ -133,8 +130,6 @@ bool wxNumberEntryDialog::Create(wxWindow *parent, m_spinctrl->SetSelection(-1, -1); m_spinctrl->SetFocus(); - wxEndBusyCursor(); - return true; } diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index b9d2e10995..9cae084bf1 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -25,7 +25,6 @@ #include "wx/generic/textdlgg.h" #ifndef WX_PRECOMP - #include "wx/utils.h" #include "wx/dialog.h" #include "wx/button.h" #include "wx/stattext.h" @@ -85,8 +84,6 @@ bool wxTextEntryDialog::Create(wxWindow *parent, m_dialogStyle = style; m_value = value; - wxBeginBusyCursor(); - wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL ); wxSizerFlags flagsBorder2; @@ -127,8 +124,6 @@ bool wxTextEntryDialog::Create(wxWindow *parent, if ( style & wxCENTRE ) Centre( wxBOTH ); - wxEndBusyCursor(); - return true; }