wxBusyInfo interface moved to generic to make space for possible native implementations. wxInfoFrame moved from header to module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: busyinfo.cpp
|
||||
// Name: src/generic/busyinfo.cpp
|
||||
// Purpose: Information window when app is busy
|
||||
// Author: Vaclav Slavik
|
||||
// Copyright: (c) 1999 Vaclav Slavik
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -14,11 +15,24 @@
|
||||
|
||||
#if wxUSE_BUSYINFO
|
||||
|
||||
#include "wx/stattext.h"
|
||||
#include "wx/panel.h"
|
||||
#include "wx/utils.h"
|
||||
// for all others, include the necessary headers
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/stattext.h"
|
||||
#include "wx/panel.h"
|
||||
#include "wx/utils.h"
|
||||
#endif
|
||||
|
||||
#include "wx/busyinfo.h"
|
||||
|
||||
class WXDLLEXPORT wxInfoFrame : public wxFrame
|
||||
{
|
||||
public:
|
||||
wxInfoFrame(wxWindow *parent, const wxString& message);
|
||||
|
||||
private:
|
||||
DECLARE_NO_COPY_CLASS(wxInfoFrame)
|
||||
};
|
||||
|
||||
|
||||
wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message)
|
||||
: wxFrame(parent, wxID_ANY, wxT("Busy"),
|
||||
@@ -111,6 +125,4 @@ wxBusyInfo::~wxBusyInfo()
|
||||
m_InfoFrame->Close();
|
||||
}
|
||||
|
||||
#endif
|
||||
// wxUSE_BUSYINFO
|
||||
|
||||
#endif // wxUSE_BUSYINFO
|
||||
|
Reference in New Issue
Block a user