]> git.saurik.com Git - wxWidgets.git/blob - include/wx/progdlg.h
enum wxWebViewBackend has been removed.
[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 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows Licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_PROGDLG_H_BASE_
13 #define _WX_PROGDLG_H_BASE_
14
15 #include "wx/defs.h"
16
17 #if wxUSE_PROGRESSDLG
18
19 /*
20 * wxProgressDialog flags
21 */
22 #define wxPD_CAN_ABORT 0x0001
23 #define wxPD_APP_MODAL 0x0002
24 #define wxPD_AUTO_HIDE 0x0004
25 #define wxPD_ELAPSED_TIME 0x0008
26 #define wxPD_ESTIMATED_TIME 0x0010
27 #define wxPD_SMOOTH 0x0020
28 #define wxPD_REMAINING_TIME 0x0040
29 #define wxPD_CAN_SKIP 0x0080
30
31
32 #include "wx/generic/progdlgg.h"
33
34 #if defined(__WXMSW__) && wxUSE_THREADS && !defined(__WXUNIVERSAL__)
35 #include "wx/msw/progdlg.h"
36 #else
37 class WXDLLIMPEXP_CORE wxProgressDialog
38 : public wxGenericProgressDialog
39 {
40 public:
41 wxProgressDialog( const wxString& title, const wxString& message,
42 int maximum = 100,
43 wxWindow *parent = NULL,
44 int style = wxPD_APP_MODAL | wxPD_AUTO_HIDE )
45 : wxGenericProgressDialog( title, message, maximum,
46 parent, style )
47 { }
48
49 private:
50 wxDECLARE_DYNAMIC_CLASS_NO_COPY( wxProgressDialog );
51 };
52 #endif // defined(__WXMSW__) && wxUSE_THREADS
53
54 #endif // wxUSE_PROGRESSDLG
55
56 #endif // _WX_PROGDLG_H_BASE_