]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/helpfrm.h
Added userData to wxSizerItems and other things to make sizers more
[wxWidgets.git] / include / wx / html / helpfrm.h
index 5f2de5df08da1c3509879a3831255b82b83ae47b..6be92402de7dfc281a76aebb7d703a00b9fd4f1d 100644 (file)
@@ -55,6 +55,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 +164,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;