]> git.saurik.com Git - wxWidgets.git/blame - include/wx/progdlg.h
Don't duplicate event sending code in wxGTK wxListBox.
[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:
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows Licence
10/////////////////////////////////////////////////////////////////////////////
11
8fa2e6a2
KB
12#ifndef _WX_PROGDLG_H_BASE_
13#define _WX_PROGDLG_H_BASE_
14
555f645a 15#include "wx/defs.h"
8fa2e6a2 16
c31d9c7f
VZ
17#if wxUSE_PROGRESSDLG
18
fe8635a7
RR
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
555f645a
WS
32#ifdef __WXPALMOS__
33 #include "wx/palmos/progdlg.h"
34#else
35 #include "wx/generic/progdlgg.h"
c31d9c7f
VZ
36
37 #if defined(__WXMSW__) && wxUSE_THREADS
38 #include "wx/msw/progdlg.h"
39 #else
40 class WXDLLIMPEXP_CORE wxProgressDialog
41 : public wxGenericProgressDialog
42 {
43 public:
44 wxProgressDialog( const wxString& title, const wxString& message,
45 int maximum = 100,
46 wxWindow *parent = NULL,
47 int style = wxPD_APP_MODAL | wxPD_AUTO_HIDE )
48 : wxGenericProgressDialog( title, message, maximum,
49 parent, style )
50 { }
51
52 private:
53 wxDECLARE_DYNAMIC_CLASS_NO_COPY( wxProgressDialog );
54 };
55 #endif // defined(__WXMSW__) && wxUSE_THREADS
56#endif // __WXPALMOS__
57
58#endif // wxUSE_PROGRESSDLG
555f645a
WS
59
60#endif // _WX_PROGDLG_H_BASE_