00001 // -*- c-basic-offset: 4 -*- 00002 00012 /* This is free software; you can redistribute it and/or 00013 * modify it under the terms of the GNU General Public 00014 * License as published by the Free Software Foundation; either 00015 * version 2 of the License, or (at your option) any later version. 00016 * 00017 * This software is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00020 * Lesser General Public License for more details. 00021 * 00022 * You should have received a copy of the GNU General Public 00023 * License along with this software; if not, write to the Free Software 00024 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00025 * 00026 */ 00027 00028 #ifndef _HTMLWINDOW_H 00029 #define _HTMLWINDOW_H 00030 00031 // standard wx include 00032 //#include <config.h> 00033 #include "panoinc.h" 00034 #include "panoinc_WX.h" 00035 #include "wx/xrc/xh_html.h" 00036 00044 class HtmlWindow: public wxHtmlWindow 00045 { 00046 public: 00047 void OnLinkClicked(const wxHtmlLinkInfo&); 00048 00049 private: 00050 DECLARE_DYNAMIC_CLASS(HtmlWindow) 00051 }; 00052 00054 class HtmlWindowXmlHandler : public wxHtmlWindowXmlHandler 00055 { 00056 DECLARE_DYNAMIC_CLASS(HtmlWindowXmlHandler) 00057 00058 public: 00060 virtual wxObject *DoCreateResource(); 00062 virtual bool CanHandle(wxXmlNode *node); 00063 }; 00064 00065 #endif // _HTMLWINDOW_H
1.3.9.1