From b31ba28885e9f3bcb56deb9e62aef9066bdbf3d0 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 13 Sep 1999 13:16:28 +0000 Subject: [PATCH] Took anonymous class out of wxHtmlHelpFrame; corrected some typos git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gifdecod.h | 3 +-- include/wx/html/helpfrm.h | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/include/wx/gifdecod.h b/include/wx/gifdecod.h index 9c3d14fc9c..922ac29777 100644 --- a/include/wx/gifdecod.h +++ b/include/wx/gifdecod.h @@ -50,8 +50,7 @@ typedef struct _IMAGEN #define E_FORMATO 1 /* error in gif header */ #define E_MEMORIA 2 /* error allocating memory */ - -class wxGIFDecoder +class WXDLLEXPORT wxGIFDecoder { private: /* logical screen */ diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h index 5f2de5df08..6be92402de 100644 --- a/include/wx/html/helpfrm.h +++ b/include/wx/html/helpfrm.h @@ -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; -- 2.45.2