]> git.saurik.com Git - wxWidgets.git/blob - include/wx/busyinfo.h
The UseAntiAliasing is off by default on wxMac. Add a menu item to
[wxWidgets.git] / include / wx / busyinfo.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: 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 __INFOWIN_H__
11 #define __INFOWIN_H__
12
13 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
14 #pragma interface "busyinfo.h"
15 #endif
16
17 #include "wx/wxprec.h"
18
19 #ifdef __BORLANDC__
20 #pragma hdrstop
21 #endif
22
23 #include "wx/frame.h"
24
25 #if wxUSE_BUSYINFO
26
27 class WXDLLEXPORT wxInfoFrame : public wxFrame
28 {
29 public:
30 wxInfoFrame(wxWindow *parent, const wxString& message);
31
32 private:
33 DECLARE_NO_COPY_CLASS(wxInfoFrame)
34 };
35
36
37 //--------------------------------------------------------------------------------
38 // wxBusyInfo
39 // Displays progress information
40 // Can be used in exactly same way as wxBusyCursor
41 //--------------------------------------------------------------------------------
42
43 class WXDLLEXPORT wxBusyInfo : public wxObject
44 {
45 public:
46 wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
47
48 virtual ~wxBusyInfo();
49
50 private:
51 wxInfoFrame *m_InfoFrame;
52
53 DECLARE_NO_COPY_CLASS(wxBusyInfo)
54 };
55
56
57 #endif
58
59 #endif