]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/progdlg.h
Make wxRichTextCtrl again buildable on WinCE.
[wxWidgets.git] / include / wx / palmos / progdlg.h
CommitLineData
555f645a
WS
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/palmos/progdlg.h
3// Purpose: wxProgressDialog interface
4// Author: Wlodzimierz ABX Skiba
e1d63b79 5// Modified by:
555f645a
WS
6// Created: 29.12.2004
7// RCS-ID: $Id$
8// Copyright: (c) Wlodzimierz Skiba
9// License: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _PREFCONF_H_
13#define _PREFCONF_H_
14
555f645a
WS
15#include "wx/defs.h"
16
17#if wxUSE_PROGRESSDLG
18
19#include "wx/dialog.h"
20
21class WXDLLEXPORT wxProgressDialog : public wxDialog
22{
23DECLARE_DYNAMIC_CLASS(wxProgressDialog)
24public:
25 wxProgressDialog(const wxString &title,
26 wxString const &message,
27 int maximum = 100,
28 wxWindow *parent = NULL,
29 int style = wxPD_APP_MODAL | wxPD_AUTO_HIDE);
d3c7fc99 30 virtual ~wxProgressDialog();
555f645a
WS
31
32 virtual bool Update(int value, const wxString& newmsg = wxEmptyString, bool *skip = NULL);
33 void Resume();
34 virtual bool Show( bool show = true );
35
20bc5ad8 36 Boolean Callback(/*PrgCallbackData */ void *data);
555f645a 37
555f645a
WS
38private:
39
20bc5ad8 40 /*ProgressType*/ void *m_prgFrame;
555f645a
WS
41 wxString m_msg;
42 int m_max,m_cur;
7d81eb8c
WS
43 bool m_canSkip;
44 bool m_activeSkip;
555f645a
WS
45
46 // Virtual function hiding supression
47 virtual void Update() { wxDialog::Update(); }
48
49 DECLARE_NO_COPY_CLASS(wxProgressDialog)
50};
51
52#endif // wxUSE_PROGRESSDLG
53
54#endif // _PREFCONF_H_
55