Develop and Download Open Source Software

Browse CVS Repository

Contents of /malonnote/mnHtmlWindow.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Thu Sep 29 04:15:30 2005 UTC (18 years, 5 months ago) by maloninc
Branch: MAIN
CVS Tags: rel_1_4, dev_1_5-0002, dev_1_5-0001, dev_1_5-0004, dev_1_4-0003, dev_1_4-0002, dev_1_4-0005, dev_1_4-0006
Changes since 1.1: +2 -0 lines
File MIME type: text/x-c++src
use XRC file for mnFrame

1 #include "mnHtmlWindow.h"
2
3 DEFINE_EVENT_TYPE(mnEVT_LINK_CLICK)
4
5 IMPLEMENT_DYNAMIC_CLASS(mnHtmlWindow, wxHtmlWindow)
6
7 void mnHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link)
8 {
9 wxCommandEvent event(mnEVT_LINK_CLICK, GetId());
10 event.SetEventObject(this);
11 event.SetString(link.GetHref());
12 GetEventHandler()->ProcessEvent(event);
13 }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26