// 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
/////////////////////////////////////////////////////////////////////////////
#define _WX_HELPFRM_H_
#ifdef __GNUG__
-#pragma interface "helpfrm.h"
+#pragma interface
#endif
#include "wx/defs.h"
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)
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;