]>
Commit | Line | Data |
---|---|---|
d9b91de7 KB |
1 | /**************************************************************************** |
2 | * | |
67fc151d | 3 | * wxWindows HTML Applet Package |
d9b91de7 KB |
4 | * |
5 | * Copyright (C) 1991-2001 SciTech Software, Inc. | |
6 | * All rights reserved. | |
7 | * | |
8 | * ====================================================================== | |
9 | * |REMOVAL OR MODIFICATION OF THIS HEADER IS STRICTLY PROHIBITED BY LAW| | |
10 | * | | | |
11 | * |This copyrighted computer code is a proprietary trade secret of | | |
12 | * |SciTech Software, Inc., located at 505 Wall Street, Chico, CA 95928 | | |
13 | * |USA (www.scitechsoft.com). ANY UNAUTHORIZED POSSESSION, USE, | | |
14 | * |VIEWING, COPYING, MODIFICATION OR DISSEMINATION OF THIS CODE IS | | |
15 | * |STRICTLY PROHIBITED BY LAW. Unless you have current, express | | |
16 | * |written authorization from SciTech to possess or use this code, you | | |
17 | * |may be subject to civil and/or criminal penalties. | | |
18 | * | | | |
19 | * |If you received this code in error or you would like to report | | |
20 | * |improper use, please immediately contact SciTech Software, Inc. at | | |
21 | * |530-894-8400. | | |
22 | * | | | |
23 | * |REMOVAL OR MODIFICATION OF THIS HEADER IS STRICTLY PROHIBITED BY LAW| | |
24 | * ====================================================================== | |
25 | * | |
67fc151d KB |
26 | * Language: ANSI C++ |
27 | * Environment: Any | |
d9b91de7 KB |
28 | * |
29 | * Description: Main wxHtmlAppletWindow class implementation | |
30 | * | |
31 | ****************************************************************************/ | |
32 | ||
33 | // For compilers that support precompilation | |
34 | #include "wx/wxprec.h" | |
38caaa61 | 35 | #include "wx/html/forcelnk.h" |
d9b91de7 KB |
36 | |
37 | // Include private headers | |
38 | #include "wx/applet/applet.h" | |
38caaa61 KB |
39 | #include "wx/applet/window.h" |
40 | #include "wx/applet/loadpage.h" | |
d9b91de7 | 41 | |
38caaa61 KB |
42 | // Preprocessor Stuff |
43 | #include "wx/applet/prepinclude.h" | |
44 | #include "wx/applet/prepecho.h" | |
45 | #include "wx/applet/prepifelse.h" | |
46 | ||
47 | ||
48 | /*---------------------------- Global variables ---------------------------*/ | |
49 | ||
50 | wxHashTable wxHtmlAppletWindow::m_Cookies; | |
51 | ||
d9b91de7 KB |
52 | /*------------------------- Implementation --------------------------------*/ |
53 | ||
54 | // Empty event handler. We include this event handler simply so that | |
55 | // sub-classes of wxApplet can reference wxApplet in the event tables | |
56 | // that they create as necessary. | |
57 | BEGIN_EVENT_TABLE(wxHtmlAppletWindow, wxHtmlWindow) | |
38caaa61 KB |
58 | EVT_LOAD_PAGE(wxHtmlAppletWindow::OnLoadPage) |
59 | EVT_PAGE_LOADED(wxHtmlAppletWindow::OnPageLoaded) | |
d9b91de7 KB |
60 | END_EVENT_TABLE() |
61 | ||
62 | // Implement the class functions for wxHtmlAppletWindow | |
63 | IMPLEMENT_CLASS(wxHtmlAppletWindow, wxHtmlWindow); | |
64 | ||
65 | // Define the wxAppletList implementation | |
66 | #include "wx/listimpl.cpp" | |
67 | WX_DEFINE_LIST(wxAppletList); | |
68 | ||
69 | /**************************************************************************** | |
70 | REMARKS: | |
71 | Constructor for the applet window class. | |
72 | ****************************************************************************/ | |
73 | wxHtmlAppletWindow::wxHtmlAppletWindow( | |
67fc151d KB |
74 | wxWindow *parent, |
75 | wxWindowID id, | |
38caaa61 KB |
76 | wxToolBarBase *navBar, |
77 | int navBackId, | |
78 | int navForwardId, | |
67fc151d KB |
79 | const wxPoint& pos, |
80 | const wxSize& size, | |
81 | long style, | |
82 | const wxString& name) | |
83 | : wxHtmlWindow(parent,id,pos,size,style,name) | |
d9b91de7 | 84 | { |
38caaa61 KB |
85 | //setup client navbars |
86 | if (navBar) { | |
87 | m_NavBar = navBar; | |
88 | m_NavBackId = navBackId; | |
89 | m_NavForwardId = navForwardId; | |
90 | } | |
91 | else { | |
92 | m_NavBar = NULL; | |
93 | } | |
94 | ||
95 | //Add HTML preprocessors | |
96 | // deleting preprocessors is done by the code within the window | |
97 | ||
98 | incPreprocessor = new wxIncludePrep(); // #include preprocessor | |
99 | wxEchoPrep * echoPreprocessor = new wxEchoPrep(); // #echo preprocessor | |
100 | wxIfElsePrep * ifPreprocessor = new wxIfElsePrep(); | |
101 | ||
102 | this->AddProcessor(incPreprocessor); | |
103 | this->AddProcessor(echoPreprocessor); | |
104 | this->AddProcessor(ifPreprocessor); | |
105 | ||
106 | ||
d9b91de7 KB |
107 | } |
108 | ||
109 | /**************************************************************************** | |
110 | REMARKS: | |
111 | Destructor for the applet window class. | |
112 | ****************************************************************************/ | |
113 | wxHtmlAppletWindow::~wxHtmlAppletWindow() | |
114 | { | |
115 | } | |
116 | ||
117 | /**************************************************************************** | |
118 | PARAMETERS: | |
67fc151d KB |
119 | className - Name of the applet class to create an object for |
120 | size - Initial size of the applet to be created | |
d9b91de7 KB |
121 | |
122 | RETURNS: | |
123 | Pointer to the wxApplet created, or NULL if unable to create the applet. | |
124 | ||
125 | REMARKS: | |
126 | This function is used to create new wxApplet objects dynamically based on the | |
127 | class name as a string. This allows instances of wxApplet classes to be | |
128 | created dynamically based on string values embedded in the custom tags of an | |
129 | HTML page. | |
130 | ****************************************************************************/ | |
131 | wxApplet *wxHtmlAppletWindow::CreateApplet( | |
38caaa61 KB |
132 | const wxString& classId, |
133 | const wxString& iName, | |
134 | const wxHtmlTag& params, | |
67fc151d | 135 | const wxSize& size) |
d9b91de7 | 136 | { |
67fc151d | 137 | // Dynamically create the class instance at runtime |
38caaa61 | 138 | wxClassInfo *info = wxClassInfo::FindClass(classId.c_str()); |
d9b91de7 KB |
139 | if (!info) |
140 | return NULL; | |
67fc151d KB |
141 | wxObject *obj = info->CreateObject(); |
142 | if (!obj) | |
143 | return NULL; | |
d9b91de7 | 144 | wxApplet *applet = wxDynamicCast(obj,wxApplet); |
67fc151d KB |
145 | if (!applet) |
146 | return NULL; | |
38caaa61 | 147 | if (!applet->Create(this,params,size)) { |
67fc151d KB |
148 | delete applet; |
149 | return NULL; | |
150 | } | |
38caaa61 | 151 | m_AppletList.Append(iName,applet); |
67fc151d | 152 | return applet; |
d9b91de7 KB |
153 | } |
154 | ||
155 | /**************************************************************************** | |
156 | PARAMETERS: | |
67fc151d | 157 | appletName - Name of the applet class to find |
d9b91de7 KB |
158 | |
159 | RETURNS: | |
160 | Pointer to the wxApplet found, or NULL if not found. | |
161 | ||
162 | REMARKS: | |
163 | Find an instance of an applet based on it's name | |
164 | ****************************************************************************/ | |
165 | wxApplet *wxHtmlAppletWindow::FindApplet( | |
67fc151d | 166 | const wxString& appletName) |
d9b91de7 | 167 | { |
67fc151d KB |
168 | wxAppletList::Node *node = m_AppletList.Find(appletName); |
169 | if (!node) | |
170 | return NULL; | |
171 | return node->GetData(); | |
38caaa61 | 172 | } |
d9b91de7 KB |
173 | |
174 | /**************************************************************************** | |
175 | PARAMETERS: | |
67fc151d | 176 | applet - Pointer to the applet object to remove from the list |
d9b91de7 KB |
177 | |
178 | RETURNS: | |
179 | True if the applet was found and removed, false if not. The applet itself | |
180 | is *not* destroyed! | |
181 | ||
182 | REMARKS: | |
183 | Remove an applet from the manager. Called during applet destruction | |
184 | ****************************************************************************/ | |
185 | bool wxHtmlAppletWindow::RemoveApplet( | |
67fc151d | 186 | const wxApplet *applet) |
d9b91de7 | 187 | { |
67fc151d KB |
188 | for (wxAppletList::Node *node = m_AppletList.GetFirst(); node; node = node->GetNext()) { |
189 | if (node->GetData() == applet) { | |
190 | m_AppletList.DeleteNode(node); | |
191 | return true; | |
192 | } | |
193 | } | |
194 | return false; | |
38caaa61 | 195 | } |
d9b91de7 KB |
196 | |
197 | /**************************************************************************** | |
198 | PARAMETERS: | |
67fc151d | 199 | URL - New URL for the page to load |
d9b91de7 KB |
200 | |
201 | RETURNS: | |
202 | True if page loaded successfully, false if not | |
203 | ||
204 | REMARKS: | |
205 | Remove an applet from the manager. Called during applet destruction | |
206 | ****************************************************************************/ | |
207 | bool wxHtmlAppletWindow::LoadPage( | |
38caaa61 | 208 | const wxString& link) |
d9b91de7 | 209 | { |
38caaa61 KB |
210 | wxString href(link); |
211 | ||
212 | // TODO: This needs to be made platform inde if possible. | |
213 | if (link.GetChar(0) == '?'){ | |
214 | wxString cmd = link.BeforeFirst('='); | |
215 | wxString cmdValue = link.AfterFirst('='); | |
216 | ||
217 | if(!(cmd.CmpNoCase("?EXTERNAL"))){ | |
218 | #ifdef __WINDOWS__ | |
219 | ShellExecute(this ? (HWND)this->GetHWND() : NULL,NULL,cmdValue.c_str(),NULL,"",SW_SHOWNORMAL); | |
220 | #else | |
221 | #error Platform not implemented yet! | |
222 | #endif | |
223 | return true; | |
224 | } | |
225 | if (!(cmd.CmpNoCase("?EXECUTE"))){ | |
226 | wxMessageBox(cmdValue); | |
227 | return true; | |
228 | } | |
229 | if (!(cmd.CmpNoCase("?VIRTUAL"))){ | |
230 | VirtualData& temp = *((VirtualData*)FindCookie(cmdValue)); | |
231 | if (&temp) { | |
232 | href = temp.GetHref(); | |
233 | } | |
234 | else { | |
235 | #ifdef CHECKED | |
236 | wxMessageBox("VIRTUAL LINK ERROR: " + cmdValue + " does not exist."); | |
237 | #endif | |
238 | return true; | |
239 | } | |
240 | } | |
241 | } | |
242 | ||
243 | // Grab the directory from the string for use in the include preprocessor | |
244 | // make sure we get either type of / or \. | |
245 | int ch = link.Find('\\', true); | |
246 | if (ch == -1) ch = link.Find('/', true); | |
247 | if (ch != -1) { | |
248 | wxFileSystem fs; | |
249 | wxString tmp = link.Mid(0, ch+1); | |
250 | fs.ChangePathTo(incPreprocessor->GetDirectory(), true); | |
251 | fs.ChangePathTo(tmp, true); | |
252 | incPreprocessor->ChangeDirectory(fs.GetPath()); | |
253 | } | |
254 | ||
255 | // Inform all the applets that the new page is being loaded | |
67fc151d | 256 | for (wxAppletList::Node *node = m_AppletList.GetFirst(); node; node = node->GetNext()) |
38caaa61 KB |
257 | (node->GetData())->OnLinkClicked(wxHtmlLinkInfo(href)); |
258 | bool stat = wxHtmlWindow::LoadPage(href); | |
259 | ||
260 | // Enable/Dis the navbar tools | |
261 | if (m_NavBar) { | |
262 | m_NavBar->EnableTool(m_NavForwardId,HistoryCanForward()); | |
263 | m_NavBar->EnableTool(m_NavBackId,HistoryCanBack()); | |
264 | } | |
265 | return stat; | |
d9b91de7 KB |
266 | } |
267 | ||
268 | /**************************************************************************** | |
269 | PARAMETERS: | |
67fc151d | 270 | URL - String URL that we are navigating to |
d9b91de7 KB |
271 | |
272 | REMARKS: | |
273 | Called when the user navigates to a new URL from the current page. We simply | |
274 | call the LoadPage function above to load the new page and display it. | |
275 | ****************************************************************************/ | |
276 | void wxHtmlAppletWindow::OnLinkClicked( | |
67fc151d | 277 | const wxHtmlLinkInfo& link) |
d9b91de7 | 278 | { |
38caaa61 | 279 | LoadPage(link.GetHref()); |
d9b91de7 KB |
280 | } |
281 | ||
282 | /**************************************************************************** | |
283 | REMARKS: | |
284 | Called when the user navigates forward within the HTML history stack. | |
285 | We call all the applets in turn allowing them to handle the navigation | |
286 | command prior to being destructed when the current page is destroyed. | |
287 | ****************************************************************************/ | |
288 | bool wxHtmlAppletWindow::HistoryForward() | |
289 | { | |
38caaa61 | 290 | if (!HistoryCanForward()) |
67fc151d | 291 | return false; |
38caaa61 | 292 | |
67fc151d KB |
293 | for (wxAppletList::Node *node = m_AppletList.GetFirst(); node; node = node->GetNext()) |
294 | (node->GetData())->OnHistoryForward(); | |
38caaa61 | 295 | |
67fc151d | 296 | return wxHtmlWindow::HistoryForward(); |
d9b91de7 KB |
297 | } |
298 | ||
299 | /**************************************************************************** | |
300 | REMARKS: | |
301 | Called when the user navigates backwards within the HTML history stack. | |
302 | We call all the applets in turn allowing them to handle the navigation | |
303 | command prior to being destructed when the current page is destroyed. | |
304 | ****************************************************************************/ | |
305 | bool wxHtmlAppletWindow::HistoryBack() | |
306 | { | |
38caaa61 | 307 | if (!HistoryCanBack()) |
67fc151d | 308 | return false; |
38caaa61 | 309 | |
67fc151d KB |
310 | for (wxAppletList::Node *node = m_AppletList.GetFirst(); node; node = node->GetNext()) |
311 | (node->GetData())->OnHistoryBack(); | |
38caaa61 | 312 | |
67fc151d | 313 | return wxHtmlWindow::HistoryBack(); |
d9b91de7 KB |
314 | } |
315 | ||
316 | /**************************************************************************** | |
317 | PARAMETERS: | |
67fc151d | 318 | msg - wxEvent message to be sent to all wxApplets |
d9b91de7 KB |
319 | |
320 | REMARKS: | |
321 | This function is called by the wxApplet's when they need to send a message | |
322 | to all other applets on the current page. This is the primary form of | |
323 | communication between applets on the page if they need to inform each | |
324 | other of internal information. | |
325 | ||
326 | Note that the event handling terminates as soon as the first wxApplet | |
327 | handles the event. If the event should be handled by all wxApplet's, | |
328 | the event handlers for the applets should not reset the wxEvent::Skip() | |
329 | value (ie: by default it is true). | |
330 | ****************************************************************************/ | |
331 | void wxHtmlAppletWindow::SendMessage( | |
67fc151d | 332 | wxEvent& msg) |
38caaa61 | 333 | { |
67fc151d KB |
334 | // Preset the skip flag |
335 | msg.Skip(); | |
38caaa61 | 336 | |
67fc151d KB |
337 | // Process all applets in turn and send them the message |
338 | for (wxAppletList::Node *node = m_AppletList.GetFirst(); node; node = node->GetNext()) { | |
339 | (node->GetData())->OnMessage(msg); | |
38caaa61 KB |
340 | if (!msg.GetSkipped()){ |
341 | wxMessageBox("BREAK"); | |
67fc151d | 342 | break; |
38caaa61 | 343 | } |
67fc151d | 344 | } |
d9b91de7 KB |
345 | } |
346 | ||
347 | /**************************************************************************** | |
348 | PARAMETERS: | |
38caaa61 KB |
349 | name - Uniq wxString used as hash key |
350 | cookie - wxObject data returned when name is found. | |
d9b91de7 KB |
351 | |
352 | RETURNS: | |
67fc151d | 353 | True if new cookie was added, false if cookie with same name already exists. |
d9b91de7 KB |
354 | |
355 | REMARKS: | |
356 | This function is called by the wxApplet's when they need register a cookie | |
357 | of data in the applet window's cookie table. Cookies are arbitrary data | |
358 | objects that are references by unique name's by the wxApplet. These | |
359 | values can be used to store and retrieve data that needs to remain | |
360 | persisent across invocations of the wxApplet. Ie: The first time an | |
361 | applet is created it would use the cookie to store data to maintain | |
362 | it's present state so that if you navigated back to the same page | |
363 | is would be able to re-load the prior state as though the applet | |
364 | was never actually destructed. | |
365 | ||
366 | Note: If a cookie with the same name already exists, this function returns | |
67fc151d KB |
367 | false. Hence if you wish to replace a cookie you should first call |
368 | UnRegisterCookie to ensure the cookie is deleted and then call this | |
369 | function. | |
d9b91de7 KB |
370 | ****************************************************************************/ |
371 | bool wxHtmlAppletWindow::RegisterCookie( | |
67fc151d KB |
372 | const wxString& name, |
373 | wxObject *cookie) | |
d9b91de7 | 374 | { |
67fc151d KB |
375 | // Fail if the named cookie already exists! |
376 | if (m_Cookies.Get(name)) | |
377 | return false; | |
38caaa61 | 378 | m_Cookies.Put(name,cookie); |
67fc151d | 379 | return true; |
d9b91de7 KB |
380 | } |
381 | ||
382 | /**************************************************************************** | |
383 | PARAMETERS: | |
38caaa61 | 384 | name - wxString uniq haskey used to remove item from hash |
d9b91de7 KB |
385 | |
386 | RETURNS: | |
387 | True if found and deleted, false if not found in table. | |
388 | ||
389 | REMARKS: | |
390 | This function is called by the wxApplet's when they need de-register a | |
391 | cookie of data in the applet window's cookie table. The data in the | |
392 | cookie itself is also deleted before it is removed from the table. | |
393 | ****************************************************************************/ | |
394 | bool wxHtmlAppletWindow::UnRegisterCookie( | |
67fc151d | 395 | const wxString& name) |
d9b91de7 | 396 | { |
67fc151d KB |
397 | wxObject *data = m_Cookies.Delete(name); |
398 | if (data) { | |
399 | delete data; | |
400 | return true; | |
401 | } | |
402 | return false; | |
d9b91de7 KB |
403 | } |
404 | ||
405 | /**************************************************************************** | |
406 | PARAMETERS: | |
67fc151d | 407 | msg - wxEvent message to be sent to all wxApplets |
d9b91de7 KB |
408 | |
409 | RETURNS: | |
410 | Pointer to the cookie data if found, NULL if not found. | |
411 | ||
412 | REMARKS: | |
413 | This function is called by the wxApplet's when they need to find a cookie | |
414 | of data given it's public name. If the cookie is not found, NULL is | |
415 | returned. | |
416 | ****************************************************************************/ | |
417 | wxObject *wxHtmlAppletWindow::FindCookie( | |
67fc151d | 418 | const wxString& name) |
d9b91de7 | 419 | { |
67fc151d | 420 | return m_Cookies.Get(name); |
d9b91de7 KB |
421 | } |
422 | ||
38caaa61 KB |
423 | /**************************************************************************** |
424 | PARAMETERS: | |
425 | event - Event to handle | |
426 | ||
427 | REMARKS: | |
428 | This function handles delayed LoadPage events posted from applets that | |
429 | need to change the page for the current window to a new window. | |
430 | ****************************************************************************/ | |
431 | void wxHtmlAppletWindow::OnLoadPage( | |
432 | wxLoadPageEvent &event) | |
433 | { | |
434 | if (event.GetHtmlWindow() == this){ | |
435 | if (LoadPage(event.GetHRef())){ | |
436 | wxPageLoadedEvent evt; | |
437 | } | |
438 | } | |
439 | } | |
440 | ||
441 | /**************************************************************************** | |
442 | PARAMETERS: | |
443 | event - Event to handle | |
444 | ||
445 | REMARKS: | |
446 | This function handles delayed LoadPage events posted from applets that | |
447 | need to change the page for the current window to a new window. | |
448 | ****************************************************************************/ | |
449 | void wxHtmlAppletWindow::OnPageLoaded( | |
450 | wxPageLoadedEvent &) | |
451 | { | |
452 | Enable(true); | |
453 | } | |
454 | ||
455 | /**************************************************************************** | |
456 | PARAMETERS: | |
457 | name - name of the last applet that changed the data in this object | |
458 | group - name of the group the allplet belongs to. | |
459 | href - webpage to go to. | |
460 | ||
461 | REMARKS: | |
462 | VirtualData is used to store information on the virtual links. | |
463 | ****************************************************************************/ | |
464 | VirtualData::VirtualData( | |
465 | wxString& name, | |
466 | wxString& group, | |
467 | wxString& href ) | |
468 | { | |
469 | m_name = name; | |
470 | m_group = group; | |
471 | m_href = href; | |
472 | } | |
473 | ||
d9b91de7 KB |
474 | #include "wx/html/m_templ.h" |
475 | ||
476 | /**************************************************************************** | |
477 | REMARKS: | |
478 | Implementation for the <embed> HTML tag handler. This handler takes care | |
479 | of automatically constructing the wxApplet objects of the appropriate | |
480 | class based on the <embed> tag information. | |
481 | ****************************************************************************/ | |
38caaa61 | 482 | TAG_HANDLER_BEGIN(wxApplet, "WXAPPLET") |
d9b91de7 KB |
483 | |
484 | TAG_HANDLER_PROC(tag) | |
485 | { | |
38caaa61 KB |
486 | wxWindow *wnd; |
487 | wxHtmlAppletWindow *appletWindow; | |
488 | wxApplet *applet; | |
489 | wxString classId; | |
490 | wxString name; | |
491 | int width, height; | |
492 | ||
493 | wnd = m_WParser->GetWindow(); | |
494 | ||
495 | if ((appletWindow = wxDynamicCast(wnd,wxHtmlAppletWindow)) != NULL){ | |
496 | tag.ScanParam("WIDTH", "%i", &width); | |
497 | tag.ScanParam("HEIGHT", "%i", &height); | |
498 | if (tag.HasParam("CLASSID")){ | |
499 | classId = tag.GetParam("CLASSID"); | |
500 | if ( classId.IsNull() || classId.Len() == 0 ){ | |
501 | wxMessageBox("wxApplet tag error: CLASSID is NULL or empty.","Error",wxICON_ERROR); | |
502 | return false; | |
67fc151d | 503 | } |
38caaa61 KB |
504 | if (tag.HasParam("NAME")) |
505 | name = tag.GetParam("NAME"); | |
506 | ||
507 | // If the name is NULL or len is zero then we assume that the html guy | |
508 | // didn't include the name param which is optional. | |
509 | if ( name.IsNull() || name.Len() == 0 ) | |
510 | name = classId; | |
511 | ||
512 | // We got all the params and can now create the applet | |
513 | if ((applet = appletWindow->CreateApplet(classId, name, tag , wxSize(width, height))) != NULL){ | |
514 | applet->Show(true); | |
515 | m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(applet,0)); | |
516 | } | |
517 | else | |
518 | wxMessageBox("wxApplet error: Could not create:" + classId + "," + name); | |
519 | } | |
520 | else{ | |
521 | wxMessageBox("wxApplet tag error: Can not find CLASSID param.","Error",wxICON_ERROR); | |
522 | return false; | |
67fc151d | 523 | } |
38caaa61 KB |
524 | //Add more param parsing here. If or when spec changes. |
525 | //For now we'll ignore any other params those HTML guys | |
526 | //might put in our tag. | |
67fc151d | 527 | } |
38caaa61 KB |
528 | |
529 | return false; | |
d9b91de7 KB |
530 | } |
531 | ||
38caaa61 KB |
532 | TAG_HANDLER_END(wxApplet) |
533 | ||
534 | TAGS_MODULE_BEGIN(wxApplet) | |
535 | TAGS_MODULE_ADD(wxApplet) | |
536 | TAGS_MODULE_END(wxApplet) | |
d9b91de7 | 537 | |
38caaa61 KB |
538 | // This is our little forcelink hack. |
539 | FORCE_LINK(loadpage) | |
d9b91de7 | 540 |