X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7ba00e77a3f69941d6a2050e67bdfff38b3238e..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/generic/busyinfo.h?ds=sidebyside diff --git a/include/wx/generic/busyinfo.h b/include/wx/generic/busyinfo.h index 143d7bd375..87daf294fd 100644 --- a/include/wx/generic/busyinfo.h +++ b/include/wx/generic/busyinfo.h @@ -7,16 +7,17 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __BUSYINFO_H__ -#define __BUSYINFO_H__ +#ifndef _WX_BUSYINFO_H_ +#define _WX_BUSYINFO_H_ #include "wx/defs.h" -#include "wx/frame.h" - #if wxUSE_BUSYINFO -class WXDLLIMPEXP_CORE wxFrame; +#include "wx/object.h" + +class WXDLLIMPEXP_FWD_CORE wxFrame; +class WXDLLIMPEXP_FWD_CORE wxWindow; //-------------------------------------------------------------------------------- // wxBusyInfo @@ -24,7 +25,7 @@ class WXDLLIMPEXP_CORE wxFrame; // Can be used in exactly same way as wxBusyCursor //-------------------------------------------------------------------------------- -class WXDLLEXPORT wxBusyInfo : public wxObject +class WXDLLIMPEXP_CORE wxBusyInfo : public wxObject { public: wxBusyInfo(const wxString& message, wxWindow *parent = NULL); @@ -34,10 +35,8 @@ public: private: wxFrame *m_InfoFrame; - DECLARE_NO_COPY_CLASS(wxBusyInfo) + wxDECLARE_NO_COPY_CLASS(wxBusyInfo); }; - #endif // wxUSE_BUSYINFO - -#endif // __BUSYINFO_H__ +#endif // _WX_BUSYINFO_H_