]> git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/busyinfo.h
Allow OS X Cocoa (or any OS X port) to override GetBestSize and provide a native...
[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_FWD_CORE wxFrame;
18 class WXDLLIMPEXP_FWD_CORE wxWindow;
19
20 //--------------------------------------------------------------------------------
21 // wxBusyInfo
22 // Displays progress information
23 // Can be used in exactly same way as wxBusyCursor
24 //--------------------------------------------------------------------------------
25
26 class WXDLLIMPEXP_CORE wxBusyInfo : public wxObject
27 {
28 public:
29 wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
30
31 virtual ~wxBusyInfo();
32
33 private:
34 wxFrame *m_InfoFrame;
35
36 wxDECLARE_NO_COPY_CLASS(wxBusyInfo);
37 };
38
39
40 #endif // wxUSE_BUSYINFO
41
42 #endif // __BUSYINFO_H__