]> git.saurik.com Git - wxWidgets.git/blame - include/wx/progdlg.h
wxRTC: fixed guidelines overwriting adjacent cell borders; corrected capitalisation...
[wxWidgets.git] / include / wx / progdlg.h
CommitLineData
99d80019
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/progdlg.h
3// Purpose: Base header for wxProgressDialog
4// Author: Julian Smart
5// Modified by:
6// Created:
99d80019
JS
7// Copyright: (c) Julian Smart
8// Licence: wxWindows Licence
9/////////////////////////////////////////////////////////////////////////////
10
8fa2e6a2
KB
11#ifndef _WX_PROGDLG_H_BASE_
12#define _WX_PROGDLG_H_BASE_
13
555f645a 14#include "wx/defs.h"
8fa2e6a2 15
c31d9c7f
VZ
16#if wxUSE_PROGRESSDLG
17
fe8635a7
RR
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
bd362275
VZ
31#include "wx/generic/progdlgg.h"
32
33#if defined(__WXMSW__) && wxUSE_THREADS && !defined(__WXUNIVERSAL__)
34 #include "wx/msw/progdlg.h"
555f645a 35#else
bd362275
VZ
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
c31d9c7f
VZ
52
53#endif // wxUSE_PROGRESSDLG
555f645a
WS
54
55#endif // _WX_PROGDLG_H_BASE_