]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/busyinfo.h
Made wxGTK's wxEventLoop::IsRunning a little more consistent with
[wxWidgets.git] / include / wx / busyinfo.h
... / ...
CommitLineData
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/defs.h"
18
19#include "wx/frame.h"
20
21#if wxUSE_BUSYINFO
22
23class WXDLLEXPORT wxInfoFrame : public wxFrame
24{
25public:
26 wxInfoFrame(wxWindow *parent, const wxString& message);
27
28private:
29 DECLARE_NO_COPY_CLASS(wxInfoFrame)
30};
31
32
33//--------------------------------------------------------------------------------
34// wxBusyInfo
35// Displays progress information
36// Can be used in exactly same way as wxBusyCursor
37//--------------------------------------------------------------------------------
38
39class WXDLLEXPORT wxBusyInfo : public wxObject
40{
41public:
42 wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
43
44 virtual ~wxBusyInfo();
45
46private:
47 wxInfoFrame *m_InfoFrame;
48
49 DECLARE_NO_COPY_CLASS(wxBusyInfo)
50};
51
52
53#endif
54
55#endif