1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Base header for wxProgressDialog
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows Licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_PROGDLG_H_BASE_
12 #define _WX_PROGDLG_H_BASE_
19 * wxProgressDialog flags
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
31 #include "wx/generic/progdlgg.h"
33 #if defined(__WXMSW__) && wxUSE_THREADS && !defined(__WXUNIVERSAL__)
34 #include "wx/msw/progdlg.h"
36 class WXDLLIMPEXP_CORE wxProgressDialog
37 : public wxGenericProgressDialog
40 wxProgressDialog( const wxString
& title
, const wxString
& message
,
42 wxWindow
*parent
= NULL
,
43 int style
= wxPD_APP_MODAL
| wxPD_AUTO_HIDE
)
44 : wxGenericProgressDialog( title
, message
, maximum
,
49 wxDECLARE_DYNAMIC_CLASS_NO_COPY( wxProgressDialog
);
51 #endif // defined(__WXMSW__) && wxUSE_THREADS
53 #endif // wxUSE_PROGRESSDLG
55 #endif // _WX_PROGDLG_H_BASE_