// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
# pragma implementation "wxexthlp.h"
#endif
#pragma hdrstop
#endif
-#if wxUSE_HELP
+#if wxUSE_HELP && !defined(__WXWINCE__)
#ifndef WX_PRECOMP
#include "wx/setup.h"
#include "wx/utils.h"
#include "wx/list.h"
#include "wx/intl.h"
+ #include "wx/msgdlg.h"
+ #include "wx/choicdlg.h"
+ #include "wx/log.h"
#endif
#include "wx/helpbase.h"
wxLogSysError(_("Cannot open URL '%s'"), relativeURL.c_str());
return false;
}
- else
- return true;
+ return true;
#elif defined(__WXPM__)
wxString url;
{
if(m_MapList)
{
- wxNode *node = m_MapList->GetFirst();
+ wxList::compatibility_iterator node = m_MapList->GetFirst();
while (node)
{
delete (wxExtHelpMapEntry *)node->GetData();
- delete node;
+ m_MapList->Erase(node);
node = m_MapList->GetFirst();
}
delete m_MapList;
return FALSE;
wxString contents;
- wxNode *node = m_MapList->GetFirst();
+ wxList::compatibility_iterator node = m_MapList->GetFirst();
wxExtHelpMapEntry *entry;
while(node)
{
return FALSE;
wxBusyCursor b; // display a busy cursor
- wxNode *node = m_MapList->GetFirst();
+ wxList::compatibility_iterator node = m_MapList->GetFirst();
wxExtHelpMapEntry *entry;
while(node)
{
int idx = 0, j;
bool rc;
bool showAll = k.IsEmpty();
- wxNode *node = m_MapList->GetFirst();
+ wxList::compatibility_iterator node = m_MapList->GetFirst();
wxExtHelpMapEntry *entry;
{