From 816e2c288c5b349289d0962e8e4ff26478ebbd96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karsten=20Ball=C3=BCder?= Date: Tue, 26 Jan 1999 09:34:24 +0000 Subject: [PATCH] fixed wxBusyCursor privacy bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/utils.h | 1 + 1 file changed, 1 insertion(+) 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(); } };