2006-01-26 10:40:46 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/generic/busyinfo.h
|
|
|
|
// Purpose: Information window (when app is busy)
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Copyright: (c) 1999 Vaclav Slavik
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2009-12-05 14:57:58 -05:00
|
|
|
#ifndef _WX_BUSYINFO_H_
|
|
|
|
#define _WX_BUSYINFO_H_
|
2006-01-26 10:40:46 -05:00
|
|
|
|
|
|
|
#include "wx/defs.h"
|
|
|
|
|
|
|
|
#if wxUSE_BUSYINFO
|
|
|
|
|
2009-12-05 14:57:58 -05:00
|
|
|
#include "wx/object.h"
|
|
|
|
|
2007-07-09 06:09:52 -04:00
|
|
|
class WXDLLIMPEXP_FWD_CORE wxFrame;
|
2007-09-26 02:41:11 -04:00
|
|
|
class WXDLLIMPEXP_FWD_CORE wxWindow;
|
2006-01-26 10:40:46 -05:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
// wxBusyInfo
|
|
|
|
// Displays progress information
|
|
|
|
// Can be used in exactly same way as wxBusyCursor
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxBusyInfo : public wxObject
|
2006-01-26 10:40:46 -05:00
|
|
|
{
|
|
|
|
public:
|
2014-10-24 17:54:38 -04:00
|
|
|
wxBusyInfo(const wxBusyInfoFlags& flags)
|
|
|
|
{
|
|
|
|
Init(flags);
|
|
|
|
}
|
|
|
|
|
|
|
|
wxBusyInfo(const wxString& message, wxWindow *parent = NULL)
|
|
|
|
{
|
|
|
|
Init(wxBusyInfoFlags().Parent(parent).Label(message));
|
|
|
|
}
|
2006-01-26 10:40:46 -05:00
|
|
|
|
|
|
|
virtual ~wxBusyInfo();
|
|
|
|
|
|
|
|
private:
|
2014-10-24 17:54:38 -04:00
|
|
|
void Init(const wxBusyInfoFlags& flags);
|
|
|
|
|
2006-01-26 10:40:46 -05:00
|
|
|
wxFrame *m_InfoFrame;
|
|
|
|
|
2009-02-08 06:45:59 -05:00
|
|
|
wxDECLARE_NO_COPY_CLASS(wxBusyInfo);
|
2006-01-26 10:40:46 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // wxUSE_BUSYINFO
|
2009-12-05 14:57:58 -05:00
|
|
|
#endif // _WX_BUSYINFO_H_
|