2006-01-26 15:40:46 +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
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2009-12-05 19:57:58 +00:00
|
|
|
#ifndef _WX_BUSYINFO_H_
|
|
|
|
#define _WX_BUSYINFO_H_
|
2006-01-26 15:40:46 +00:00
|
|
|
|
|
|
|
#include "wx/defs.h"
|
|
|
|
|
|
|
|
#if wxUSE_BUSYINFO
|
|
|
|
|
2009-12-05 19:57:58 +00:00
|
|
|
#include "wx/object.h"
|
|
|
|
|
2007-07-09 10:09:52 +00:00
|
|
|
class WXDLLIMPEXP_FWD_CORE wxFrame;
|
2007-09-26 06:41:11 +00:00
|
|
|
class WXDLLIMPEXP_FWD_CORE wxWindow;
|
2006-01-26 15:40:46 +00:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
// wxBusyInfo
|
|
|
|
// Displays progress information
|
|
|
|
// Can be used in exactly same way as wxBusyCursor
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
|
2008-03-26 15:06:00 +00:00
|
|
|
class WXDLLIMPEXP_CORE wxBusyInfo : public wxObject
|
2006-01-26 15:40:46 +00:00
|
|
|
{
|
|
|
|
public:
|
2014-10-24 21:54:38 +00:00
|
|
|
wxBusyInfo(const wxBusyInfoFlags& flags)
|
|
|
|
{
|
|
|
|
Init(flags);
|
|
|
|
}
|
|
|
|
|
|
|
|
wxBusyInfo(const wxString& message, wxWindow *parent = NULL)
|
|
|
|
{
|
|
|
|
Init(wxBusyInfoFlags().Parent(parent).Label(message));
|
|
|
|
}
|
2006-01-26 15:40:46 +00:00
|
|
|
|
|
|
|
virtual ~wxBusyInfo();
|
|
|
|
|
|
|
|
private:
|
2014-10-24 21:54:38 +00:00
|
|
|
void Init(const wxBusyInfoFlags& flags);
|
|
|
|
|
2006-01-26 15:40:46 +00:00
|
|
|
wxFrame *m_InfoFrame;
|
|
|
|
|
2009-02-08 11:45:59 +00:00
|
|
|
wxDECLARE_NO_COPY_CLASS(wxBusyInfo);
|
2006-01-26 15:40:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // wxUSE_BUSYINFO
|
2009-12-05 19:57:58 +00:00
|
|
|
#endif // _WX_BUSYINFO_H_
|