extension module called wx.activex. Lots of demo and lib updates to go along with it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			67 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|                 wxActiveX Library Licence, Version 3
 | |
|                 ====================================
 | |
| 
 | |
|   Copyright (C) 2003 Lindsay Mathieson [, ...]
 | |
| 
 | |
|   Everyone is permitted to copy and distribute verbatim copies
 | |
|   of this licence document, but changing it is not allowed.
 | |
| 
 | |
|                        wxActiveX LIBRARY LICENCE
 | |
|      TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 | |
|   
 | |
|   This library is free software; you can redistribute it and/or modify it
 | |
|   under the terms of the GNU Library General Public Licence as published by
 | |
|   the Free Software Foundation; either version 2 of the Licence, or (at
 | |
|   your option) any later version.
 | |
|   
 | |
|   This library is distributed in the hope that it will be useful, but
 | |
|   WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
|   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library
 | |
|   General Public Licence for more details.
 | |
| 
 | |
|   You should have received a copy of the GNU Library General Public Licence
 | |
|   along with this software, usually in a file named COPYING.LIB.  If not,
 | |
|   write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 | |
|   Boston, MA 02111-1307 USA.
 | |
| 
 | |
|   EXCEPTION NOTICE
 | |
| 
 | |
|   1. As a special exception, the copyright holders of this library give
 | |
|   permission for additional uses of the text contained in this release of
 | |
|   the library as licenced under the wxActiveX Library Licence, applying
 | |
|   either version 3 of the Licence, or (at your option) any later version of
 | |
|   the Licence as published by the copyright holders of version 3 of the
 | |
|   Licence document.
 | |
| 
 | |
|   2. The exception is that you may use, copy, link, modify and distribute
 | |
|   under the user's own terms, binary object code versions of works based
 | |
|   on the Library.
 | |
| 
 | |
|   3. If you copy code from files distributed under the terms of the GNU
 | |
|   General Public Licence or the GNU Library General Public Licence into a
 | |
|   copy of this library, as this licence permits, the exception does not
 | |
|   apply to the code that you add in this way.  To avoid misleading anyone as
 | |
|   to the status of such modified files, you must delete this exception
 | |
|   notice from such code and/or adjust the licensing conditions notice
 | |
|   accordingly.
 | |
| 
 | |
|   4. If you write modifications of your own for this library, it is your
 | |
|   choice whether to permit this exception to apply to your modifications. 
 | |
|   If you do not wish that, you must delete the exception notice from such
 | |
|   code and/or adjust the licensing conditions notice accordingly.
 | |
| */
 | |
| 
 | |
| // Define a new application type, each program should derive a class from wxApp
 | |
| class wxIEApp : public wxApp
 | |
| {
 | |
| public:
 | |
|     // override base class virtuals
 | |
|     // ----------------------------
 | |
| 
 | |
|     // this one is called on application startup and is a good place for the app
 | |
|     // initialization (doing it here and not in the ctor allows to have an error
 | |
|     // return: if OnInit() returns false, the application terminates)
 | |
|     virtual bool OnInit();
 | |
| };
 |