]> git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/busyinfo.h
destroy m_impl even if an exception is thrown from the main loop
[wxWidgets.git] / include / wx / generic / busyinfo.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/busyinfo.h
3 // Purpose: Information window (when app is busy)
4 // Author: Vaclav Slavik
5 // Copyright: (c) 1999 Vaclav Slavik
6 // RCS-ID: $Id$
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef __BUSYINFO_H__
11 #define __BUSYINFO_H__
12
13 #include "wx/defs.h"
14
15 #if wxUSE_BUSYINFO
16
17 class WXDLLIMPEXP_CORE wxFrame;
18
19 //--------------------------------------------------------------------------------
20 // wxBusyInfo
21 // Displays progress information
22 // Can be used in exactly same way as wxBusyCursor
23 //--------------------------------------------------------------------------------
24
25 class WXDLLEXPORT wxBusyInfo : public wxObject
26 {
27 public:
28 wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
29
30 virtual ~wxBusyInfo();
31
32 private:
33 wxFrame *m_InfoFrame;
34
35 DECLARE_NO_COPY_CLASS(wxBusyInfo)
36 };
37
38
39 #endif // wxUSE_BUSYINFO
40
41 #endif // __BUSYINFO_H__