X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2a6f23364aefcd5095dc6558e3ab8144363fa96..978f38c238bb83dbb5a73104e4e6870d984dd058:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index 4cd16916d3..483e0caf07 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -198,6 +198,7 @@ WXDLLEXPORT bool wxIsBusy(void); // Convenience class so we can just create a wxBusyCursor object on the stack class WXDLLEXPORT wxBusyCursor { + public: inline wxBusyCursor(wxCursor* cursor = wxHOURGLASS_CURSOR) { wxBeginBusyCursor(cursor); } inline ~wxBusyCursor() { wxEndBusyCursor(); } };