]> git.saurik.com Git - wxWidgets.git/blob - include/wx/busyinfo.h
Add samples mobile and ownerdrw. Make sample richedit available on all
[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/defs.h"
18
19 #include "wx/frame.h"
20
21 #if wxUSE_BUSYINFO
22
23 class WXDLLEXPORT wxInfoFrame : public wxFrame
24 {
25 public:
26 wxInfoFrame(wxWindow *parent, const wxString& message);
27
28 private:
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
39 class WXDLLEXPORT wxBusyInfo : public wxObject
40 {
41 public:
42 wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
43
44 virtual ~wxBusyInfo();
45
46 private:
47 wxInfoFrame *m_InfoFrame;
48
49 DECLARE_NO_COPY_CLASS(wxBusyInfo)
50 };
51
52
53 #endif
54
55 #endif