HtmlWindow.h

Go to the documentation of this file.
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, see
00024  *  <http://www.gnu.org/licenses/>.
00025  *
00026  */
00027 
00028 #ifndef _HTMLWINDOW_H
00029 #define _HTMLWINDOW_H
00030 
00031 // standard wx include
00032 #include "panoinc.h"
00033 #include "panoinc_WX.h"
00034 #include "wx/xrc/xh_html.h"
00035 
00043 class HtmlWindow: public wxHtmlWindow
00044 {
00045     public:
00046         void OnLinkClicked(const wxHtmlLinkInfo&);
00047 
00048     private:
00049         DECLARE_DYNAMIC_CLASS(HtmlWindow)
00050 };
00051 
00053 class HtmlWindowXmlHandler : public wxHtmlWindowXmlHandler
00054 {
00055     DECLARE_DYNAMIC_CLASS(HtmlWindowXmlHandler)
00056 
00057 public:
00059     virtual wxObject *DoCreateResource();
00061     virtual bool CanHandle(wxXmlNode *node);
00062 };
00063 
00064 #endif  // _HTMLWINDOW_H

Generated on 18 Jan 2017 for Hugintrunk by  doxygen 1.4.7