]> git.saurik.com Git - wxWidgets.git/blame - include/wx/busyinfo.h
wxBitmapButton doesn't need own DoGetBestSize, wxControl's one works (fixes sizing...
[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$
65571936 7// Licence: wxWindows licence
5526e819
VS
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
372c511b 17#include "wx/defs.h"
5526e819 18
d1af991f 19#include "wx/frame.h"
5526e819 20
d78b3d64 21#if wxUSE_BUSYINFO
5526e819 22
d674cf6d 23class WXDLLEXPORT wxInfoFrame : public wxFrame
5526e819 24{
21977bac
VZ
25public:
26 wxInfoFrame(wxWindow *parent, const wxString& message);
fc7a2a60
VZ
27
28private:
29 DECLARE_NO_COPY_CLASS(wxInfoFrame)
5526e819
VS
30};
31
32
33//--------------------------------------------------------------------------------
34// wxBusyInfo
35// Displays progress information
36// Can be used in exactly same way as wxBusyCursor
37//--------------------------------------------------------------------------------
38
d674cf6d 39class WXDLLEXPORT wxBusyInfo : public wxObject
5526e819 40{
21977bac
VZ
41public:
42 wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
5526e819 43
21977bac
VZ
44 virtual ~wxBusyInfo();
45
46private:
47 wxInfoFrame *m_InfoFrame;
22f3361e
VZ
48
49 DECLARE_NO_COPY_CLASS(wxBusyInfo)
5526e819
VS
50};
51
52
53#endif
54
d78b3d64 55#endif