Allow customizing wxBusyInfo appearance.
Allow customizing wxBusyInfo window by passing wxBusyInfoFlags containing information about the icon, title, colours and frame transparency to use. Update the sample to show such "rich" busy info. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,11 +27,21 @@ class WXDLLIMPEXP_FWD_CORE wxWindow;
|
||||
class WXDLLIMPEXP_CORE wxBusyInfo : public wxObject
|
||||
{
|
||||
public:
|
||||
wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
|
||||
wxBusyInfo(const wxBusyInfoFlags& flags)
|
||||
{
|
||||
Init(flags);
|
||||
}
|
||||
|
||||
wxBusyInfo(const wxString& message, wxWindow *parent = NULL)
|
||||
{
|
||||
Init(wxBusyInfoFlags().Parent(parent).Label(message));
|
||||
}
|
||||
|
||||
virtual ~wxBusyInfo();
|
||||
|
||||
private:
|
||||
void Init(const wxBusyInfoFlags& flags);
|
||||
|
||||
wxFrame *m_InfoFrame;
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(wxBusyInfo);
|
||||
|
Reference in New Issue
Block a user