git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			35 lines
		
	
	
		
			743 B
		
	
	
	
		
			TeX
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			743 B
		
	
	
	
		
			TeX
		
	
	
	
	
	
| \section{\class{wxBusyInfo}}\label{wxbusyinfo}
 | |
| 
 | |
| This class makes it easy to tell your user that the program is temporarily busy.
 | |
| Just create a wxBusyInfo object on the stack, and within the current scope,
 | |
| a message window will be shown.
 | |
| 
 | |
| For example:
 | |
| 
 | |
| \begin{verbatim}
 | |
|   wxBusyInfo wait("Please wait, working...");
 | |
| 
 | |
|   for (int i = 0; i < 100000; i++)
 | |
|     DoACalculation();
 | |
| \end{verbatim}
 | |
| 
 | |
| It works by creating a window in the constructor,
 | |
| and deleting it in the destructor.
 | |
| 
 | |
| \wxheading{Derived from}
 | |
| 
 | |
| None
 | |
| 
 | |
| \wxheading{Include files}
 | |
| 
 | |
| <wx/busyinfo.h>
 | |
| 
 | |
| \latexignore{\rtfignore{\wxheading{Members}}}
 | |
| 
 | |
| \membersection{wxBusyInfo::wxBusyInfo}
 | |
| 
 | |
| \func{}{wxBusyInfo}{\param{const wxString\&}{ msg}}
 | |
| 
 | |
| Constructs a busy info object, displays {\it msg}.
 | |
| 
 |