]> git.saurik.com Git - wxWidgets.git/blame - include/wx/busyinfo.h
The UseAntiAliasing is off by default on wxMac. Add a menu item to
[wxWidgets.git] / include / wx / busyinfo.h
CommitLineData
5526e819
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: busyinfo.h
3// Purpose: Information window (when app is busy)
4// Author: Vaclav Slavik
5// Copyright: (c) 1999 Vaclav Slavik
d1af991f 6// RCS-ID: $Id$
5526e819
VS
7// Licence: wxWindows Licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __INFOWIN_H__
11#define __INFOWIN_H__
12
12028905 13#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
af49c4b8 14#pragma interface "busyinfo.h"
5526e819
VS
15#endif
16
d1af991f 17#include "wx/wxprec.h"
5526e819 18
2b5f62a0 19#ifdef __BORLANDC__
5526e819
VS
20#pragma hdrstop
21#endif
22
d1af991f 23#include "wx/frame.h"
5526e819 24
d78b3d64 25#if wxUSE_BUSYINFO
5526e819 26
d674cf6d 27class WXDLLEXPORT wxInfoFrame : public wxFrame
5526e819 28{
21977bac
VZ
29public:
30 wxInfoFrame(wxWindow *parent, const wxString& message);
fc7a2a60
VZ
31
32private:
33 DECLARE_NO_COPY_CLASS(wxInfoFrame)
5526e819
VS
34};
35
36
37//--------------------------------------------------------------------------------
38// wxBusyInfo
39// Displays progress information
40// Can be used in exactly same way as wxBusyCursor
41//--------------------------------------------------------------------------------
42
d674cf6d 43class WXDLLEXPORT wxBusyInfo : public wxObject
5526e819 44{
21977bac
VZ
45public:
46 wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
5526e819 47
21977bac
VZ
48 virtual ~wxBusyInfo();
49
50private:
51 wxInfoFrame *m_InfoFrame;
22f3361e
VZ
52
53 DECLARE_NO_COPY_CLASS(wxBusyInfo)
5526e819
VS
54};
55
56
57#endif
58
d78b3d64 59#endif