X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/555f645a40d21b575f6154e484e2cddcb950a341..ddc7f0c97571b231f231b5abaa9f4e4eaf1e46a9:/include/wx/palmos/progdlg.h?ds=inline diff --git a/include/wx/palmos/progdlg.h b/include/wx/palmos/progdlg.h index 8381b44bcf..a6de9ec0b7 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 @@ -12,17 +12,13 @@ #ifndef _PREFCONF_H_ #define _PREFCONF_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "progdlg.h" -#endif - #include "wx/defs.h" #if wxUSE_PROGRESSDLG #include "wx/dialog.h" -class WXDLLEXPORT wxProgressDialog : public wxDialog +class WXDLLIMPEXP_CORE wxProgressDialog : public wxDialog { DECLARE_DYNAMIC_CLASS(wxProgressDialog) public: @@ -31,22 +27,21 @@ 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(); virtual bool Show( bool show = true ); - wxString GetMessage(){return m_msg;} - void SetMessage(wxString const &message){m_msg = message;} + Boolean Callback(/*PrgCallbackData */ void *data); - int GetMaxValue(){return m_max;} - int GetCurValue(){return m_cur;} private: - ProgressType *m_prgFrame; + /*ProgressType*/ void *m_prgFrame; wxString m_msg; int m_max,m_cur; + bool m_canSkip; + bool m_activeSkip; // Virtual function hiding supression virtual void Update() { wxDialog::Update(); }