fixed wrong usage example in wxLogChain section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -380,7 +380,9 @@ wxLogChain *logChain = new wxLogChain(new wxLogStderr);
 | 
			
		||||
// all the log messages are sent to stderr and also processed as usually
 | 
			
		||||
...
 | 
			
		||||
 | 
			
		||||
delete logChain;
 | 
			
		||||
// don't delete logChain directly as this would leave a dangling
 | 
			
		||||
// pointer as active log target, use SetActiveTarget() instead
 | 
			
		||||
delete wxLog::SetActiveTarget(...something else or NULL...);
 | 
			
		||||
 | 
			
		||||
\end{verbatim}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user