2011-03-20 18:05:19 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/generic/busyinfo.h
|
|
|
|
// Purpose: Information window (when app is busy)
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Copyright: (c) 1999 Vaclav Slavik
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_BUSYINFO_H_
|
|
|
|
#define _WX_BUSYINFO_H_
|
|
|
|
|
|
|
|
#include "wx/defs.h"
|
|
|
|
|
|
|
|
#if wxUSE_BUSYINFO
|
|
|
|
|
|
|
|
#include "wx/object.h"
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxFrame;
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxWindow;
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
// wxBusyInfo
|
|
|
|
// Displays progress information
|
|
|
|
// Can be used in exactly same way as wxBusyCursor
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxBusyInfo : public wxObject
|
|
|
|
{
|
|
|
|
public:
|
2016-06-26 05:25:29 +00:00
|
|
|
wxBusyInfo(const wxBusyInfoFlags& flags)
|
|
|
|
{
|
|
|
|
Init(flags);
|
|
|
|
}
|
|
|
|
|
|
|
|
wxBusyInfo(const wxString& message, wxWindow *parent = NULL)
|
|
|
|
{
|
|
|
|
Init(wxBusyInfoFlags().Parent(parent).Label(message));
|
|
|
|
}
|
2011-03-20 18:05:19 +00:00
|
|
|
|
|
|
|
virtual ~wxBusyInfo();
|
|
|
|
|
|
|
|
private:
|
2016-06-26 05:25:29 +00:00
|
|
|
void Init(const wxBusyInfoFlags& flags);
|
|
|
|
|
2011-03-20 18:05:19 +00:00
|
|
|
wxFrame *m_InfoFrame;
|
|
|
|
|
|
|
|
wxDECLARE_NO_COPY_CLASS(wxBusyInfo);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // wxUSE_BUSYINFO
|
|
|
|
#endif // _WX_BUSYINFO_H_
|