Add more checks for Intel compiler.
[wxWidgets.git] / include / wx / progdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/progdlg.h
3 // Purpose: Base header for wxProgressDialog
4 // Author: Julian Smart
5 // Modified by:
6 // Created:
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows Licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_PROGDLG_H_BASE_
12 #define _WX_PROGDLG_H_BASE_
13
14 #include "wx/defs.h"
15
16 #if wxUSE_PROGRESSDLG
17
18 /*
19 * wxProgressDialog flags
20 */
21 #define wxPD_CAN_ABORT 0x0001
22 #define wxPD_APP_MODAL 0x0002
23 #define wxPD_AUTO_HIDE 0x0004
24 #define wxPD_ELAPSED_TIME 0x0008
25 #define wxPD_ESTIMATED_TIME 0x0010
26 #define wxPD_SMOOTH 0x0020
27 #define wxPD_REMAINING_TIME 0x0040
28 #define wxPD_CAN_SKIP 0x0080
29
30
31 #include "wx/generic/progdlgg.h"
32
33 #if defined(__WXMSW__) && wxUSE_THREADS && !defined(__WXUNIVERSAL__)
34 #include "wx/msw/progdlg.h"
35 #else
36 class WXDLLIMPEXP_CORE wxProgressDialog
37 : public wxGenericProgressDialog
38 {
39 public:
40 wxProgressDialog( const wxString& title, const wxString& message,
41 int maximum = 100,
42 wxWindow *parent = NULL,
43 int style = wxPD_APP_MODAL | wxPD_AUTO_HIDE )
44 : wxGenericProgressDialog( title, message, maximum,
45 parent, style )
46 { }
47
48 private:
49 wxDECLARE_DYNAMIC_CLASS_NO_COPY( wxProgressDialog );
50 };
51 #endif // defined(__WXMSW__) && wxUSE_THREADS
52
53 #endif // wxUSE_PROGRESSDLG
54
55 #endif // _WX_PROGDLG_H_BASE_