X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..7d3f6b4ded6aa412cb1cc306fef478955d448c5b:/include/wx/palmos/progdlg.h diff --git a/include/wx/palmos/progdlg.h b/include/wx/palmos/progdlg.h index a45452f49a..711be7350c 100644 --- a/include/wx/palmos/progdlg.h +++ b/include/wx/palmos/progdlg.h @@ -2,11 +2,11 @@ // Name: wx/palmos/progdlg.h // Purpose: wxProgressDialog interface // Author: Wlodzimierz ABX Skiba -// Modified by: +// Modified by: // Created: 29.12.2004 // RCS-ID: $Id$ // Copyright: (c) Wlodzimierz Skiba -// License: wxWindows licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _PREFCONF_H_ @@ -18,7 +18,7 @@ #include "wx/dialog.h" -class WXDLLEXPORT wxProgressDialog : public wxDialog +class WXDLLIMPEXP_CORE wxProgressDialog : public wxDialog { DECLARE_DYNAMIC_CLASS(wxProgressDialog) public: @@ -27,7 +27,7 @@ public: int maximum = 100, wxWindow *parent = NULL, int style = wxPD_APP_MODAL | wxPD_AUTO_HIDE); - ~wxProgressDialog(); + virtual ~wxProgressDialog(); virtual bool Update(int value, const wxString& newmsg = wxEmptyString, bool *skip = NULL); void Resume(); @@ -35,6 +35,10 @@ public: Boolean Callback(/*PrgCallbackData */ void *data); + int GetValue() const { return m_cur; } + int GetRange() const { return m_max; } + wxString GetMessage() const { return m_msg; } + private: /*ProgressType*/ void *m_prgFrame; @@ -46,7 +50,7 @@ private: // Virtual function hiding supression virtual void Update() { wxDialog::Update(); } - DECLARE_NO_COPY_CLASS(wxProgressDialog) + wxDECLARE_NO_COPY_CLASS(wxProgressDialog); }; #endif // wxUSE_PROGRESSDLG