X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5f6b52ab37166b49757b234d345fef358c33ecd..9a33ef7c3cc827658ba12b553c40af432f10bc3b:/src/html/helpfrm.cpp diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 123aa56c7b..b2487b2928 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "helpfrm.h" #endif @@ -721,8 +721,6 @@ void wxHtmlHelpFrame::CreateContents() if (! m_ContentsBox) return ; - m_ContentsBox->Clear(); - if (m_PagesHash) { WX_CLEAR_HASH_TABLE(*m_PagesHash);