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:
Włodzimierz Skiba
2006-01-26 15:40:46 +00:00
parent 1e25a373d0
commit b7ba00e77a
6 changed files with 76 additions and 43 deletions

View File

@@ -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