applied to the wxCaptionBar in question, meaning it will be created using the default internals. When setting i.e
the color, font or panel style, these styles become active to be used.
*/
-class wxCaptionBarStyle
+class WXDLLIMPEXP_FOLDBAR wxCaptionBarStyle
{
private:
// boolean flags for default transparency on styles
};
#include <wx/dynarray.h>
-WX_DEFINE_ARRAY_PTR(wxFoldPanelItem *, wxFoldPanelItemArray);
+WX_DEFINE_ARRAY_WITH_DECL_PTR(wxFoldPanelItem *, wxFoldPanelItemArray, class WXDLLIMPEXP_FOLDBAR);
/** \class wxFoldPanelBar
The wxFoldPanelBar is a class which can maintain a list of collapsable panels. Once a panel is collapsed, only
class WXDLLIMPEXP_FOLDBAR wxFoldPanelBar: public wxPanel
{
private:
- DECLARE_CLASS( wxFoldPanelBar )
+ DECLARE_DYNAMIC_CLASS( wxFoldPanelBar )
DECLARE_EVENT_TABLE()
wxImageList *m_images;
};
#include <wx/dynarray.h>
-WX_DECLARE_OBJARRAY(wxFoldWindowItem, wxFoldWindowItemArray);
+WX_DECLARE_OBJARRAY_WITH_DECL(wxFoldWindowItem, wxFoldWindowItemArray, class WXDLLIMPEXP_FOLDBAR);
#ifndef _NO_DOXYGEN_
// wxFoldPanelBar
//----------------------------------------------------------------------------
-IMPLEMENT_CLASS( wxFoldPanelBar, wxPanel )
+IMPLEMENT_DYNAMIC_CLASS( wxFoldPanelBar, wxPanel )
BEGIN_EVENT_TABLE(wxFoldPanelBar,wxPanel)
EVT_SIZE(wxFoldPanelBar::OnSizePanel)
END_EVENT_TABLE()
wxFoldPanelBar::wxFoldPanelBar()
+ : wxPanel()
+ , m_foldPanel(NULL)
+ , m_bottomPanel(NULL)
+ , m_controlCreated(false)
{
}
wxFoldPanelBar::wxFoldPanelBar( wxWindow *parent, wxWindowID id, const wxPoint &position,
const wxSize& size, long style, long extraStyle)
- : m_foldPanel(NULL)
+ : wxPanel()
+ , m_foldPanel(NULL)
, m_bottomPanel(NULL)
, m_controlCreated(false)
{