X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f42b1601d6a55f3c2b7e7c22894727bda70d8505..d88de032d3009be88d0f0ba4a882784aa9493331:/include/wx/html/helpfrm.h?ds=sidebyside diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h index 5f2de5df08..d83d5c4f86 100644 --- a/include/wx/html/helpfrm.h +++ b/include/wx/html/helpfrm.h @@ -4,8 +4,7 @@ // Notes: Based on htmlhelp.cpp, implementing a monolithic // HTML Help controller class, by Vaclav Slavik // Author: Harm van der Heijden and Vaclav Slavik -// Created: -// RCS-ID: +// RCS-ID: $Id$ // Copyright: (c) Harm van der Heijden and Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -14,7 +13,7 @@ #define _WX_HELPFRM_H_ #ifdef __GNUG__ -#pragma interface "helpfrm.h" +#pragma interface #endif #include "wx/defs.h" @@ -55,6 +54,17 @@ enum { wxID_HTML_HELPFRAME // the id of wxHtmlHelpController's helpframe }; +class WXDLLEXPORT wxHtmlHelpFrameCfg +{ +public: + wxHtmlHelpFrameCfg() {}; + long x, y, w, h; + long sashpos; + bool navig_on; + int style; // flags given to wxHtmlHelpFrame ctor + wxString titleformat; +}; + class WXDLLEXPORT wxHtmlHelpFrame : public wxFrame { DECLARE_DYNAMIC_CLASS(wxHtmlHelpFrame) @@ -153,14 +163,7 @@ protected: wxListBox *m_SearchList; wxChoice *m_SearchChoice; - struct WXDLLEXPORT _struct_Cfg { - long x, y, w, h; - long sashpos; - bool navig_on; - int style; // flags given to wxHtmlHelpFrame ctor - wxString titleformat; - } m_Cfg; - // settings (window size, position, sash pos etc..) + wxHtmlHelpFrameCfg m_Cfg; wxConfigBase *m_Config; wxString m_ConfigRoot;