Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't exist) and consistently spell "licence" using British spelling. See #12165. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| ///////////////////////////////////////////////////////////////////////////////
 | |
| // Name:        wx/palmos/progdlg.h
 | |
| // Purpose:     wxProgressDialog interface
 | |
| // Author:      Wlodzimierz ABX Skiba
 | |
| // Modified by:
 | |
| // Created:     29.12.2004
 | |
| // RCS-ID:      $Id$
 | |
| // Copyright:   (c) Wlodzimierz Skiba
 | |
| // Licence:     wxWindows licence
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
| #ifndef _PREFCONF_H_
 | |
| #define _PREFCONF_H_
 | |
| 
 | |
| #include "wx/defs.h"
 | |
| 
 | |
| #if wxUSE_PROGRESSDLG
 | |
| 
 | |
| #include "wx/dialog.h"
 | |
| 
 | |
| class WXDLLIMPEXP_CORE wxProgressDialog : public wxDialog
 | |
| {
 | |
| DECLARE_DYNAMIC_CLASS(wxProgressDialog)
 | |
| public:
 | |
|     wxProgressDialog(const wxString &title,
 | |
|                      wxString const &message,
 | |
|                      int maximum = 100,
 | |
|                      wxWindow *parent = NULL,
 | |
|                      int style = wxPD_APP_MODAL | wxPD_AUTO_HIDE);
 | |
|     virtual ~wxProgressDialog();
 | |
| 
 | |
|     virtual bool Update(int value, const wxString& newmsg = wxEmptyString, bool *skip = NULL);
 | |
|     void Resume();
 | |
|     virtual bool Show( bool show = true );
 | |
| 
 | |
|     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;
 | |
|     wxString m_msg;
 | |
|     int m_max,m_cur;
 | |
|     bool m_canSkip;
 | |
|     bool m_activeSkip;
 | |
| 
 | |
|     // Virtual function hiding supression
 | |
|     virtual void Update() { wxDialog::Update(); }
 | |
| 
 | |
|     wxDECLARE_NO_COPY_CLASS(wxProgressDialog);
 | |
| };
 | |
| 
 | |
| #endif // wxUSE_PROGRESSDLG
 | |
| 
 | |
| #endif // _PREFCONF_H_
 | |
| 
 |