X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95d00805e0c50ec408a04a04431f6a7c91ce38b1..9bd5c5fcda3fe2222bf37f1615961516d6b40e7f:/include/wx/generic/busyinfo.h diff --git a/include/wx/generic/busyinfo.h b/include/wx/generic/busyinfo.h index 0151a76b3b..87daf294fd 100644 --- a/include/wx/generic/busyinfo.h +++ b/include/wx/generic/busyinfo.h @@ -7,14 +7,17 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __BUSYINFO_H__ -#define __BUSYINFO_H__ +#ifndef _WX_BUSYINFO_H_ +#define _WX_BUSYINFO_H_ #include "wx/defs.h" #if wxUSE_BUSYINFO -class WXDLLIMPEXP_CORE wxFrame; +#include "wx/object.h" + +class WXDLLIMPEXP_FWD_CORE wxFrame; +class WXDLLIMPEXP_FWD_CORE wxWindow; //-------------------------------------------------------------------------------- // wxBusyInfo @@ -22,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); @@ -32,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_