From: Włodzimierz Skiba Date: Thu, 27 Oct 2005 20:57:10 +0000 (+0000) Subject: WinCE build fix (we need default constructor). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d2bad02dbb16e4423965a615431f4e23fa6385d5?ds=sidebyside WinCE build fix (we need default constructor). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/wince/helpwce.h b/include/wx/msw/wince/helpwce.h index 735a6cbc1d..3dad7eda64 100644 --- a/include/wx/msw/wince/helpwce.h +++ b/include/wx/msw/wince/helpwce.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: helpwce.h +// Name: wx/msw/wince/helpwce.h // Purpose: Help system: Windows CE help implementation // Author: Julian Smart // Modified by: @@ -46,7 +46,11 @@ protected: // View topic, or just the HTML file bool ViewURL(const wxString& topic = wxEmptyString); -protected: +private: + // eVC4 needs default constructor, otherwise error C2512 + // but make it hidden + wxWinceHelpController(): wxHelpControllerBase(NULL) {} + wxString m_helpFile; DECLARE_CLASS(wxWinceHelpController) @@ -56,4 +60,3 @@ protected: #endif // _WX_HELPWCE_H_ -