X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..c099b53353ec8c689681a1bc8f5117a584e4098d:/include/wx/palmos/progdlg.h?ds=inline diff --git a/include/wx/palmos/progdlg.h b/include/wx/palmos/progdlg.h index fa897d81f3..d3f4c0ca14 100644 --- a/include/wx/palmos/progdlg.h +++ b/include/wx/palmos/progdlg.h @@ -2,7 +2,7 @@ // 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 @@ -18,7 +18,7 @@ #include "wx/dialog.h" -class WXDLLEXPORT wxProgressDialog : public wxDialog +class WXDLLIMPEXP_CORE wxProgressDialog : public wxDialog { DECLARE_DYNAMIC_CLASS(wxProgressDialog) public: @@ -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