compilation fix: wxGenericCollapsiblePane needs wxButton and wxStaticLine

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-10-27 13:08:05 +00:00
parent f415cab9ef
commit 687b91d266
2 changed files with 8 additions and 0 deletions

View File

@@ -12,6 +12,8 @@
#ifndef _WX_COLLAPSABLE_PANE_H_GENERIC_ #ifndef _WX_COLLAPSABLE_PANE_H_GENERIC_
#define _WX_COLLAPSABLE_PANE_H_GENERIC_ #define _WX_COLLAPSABLE_PANE_H_GENERIC_
#if wxUSE_BUTTON && wxUSE_STATLINE
// forward declared // forward declared
class WXDLLEXPORT wxButton; class WXDLLEXPORT wxButton;
class WXDLLEXPORT wxStaticLine; class WXDLLEXPORT wxStaticLine;
@@ -102,5 +104,7 @@ private:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
}; };
#endif // wxUSE_BUTTON && wxUSE_STATLINE
#endif // _WX_COLLAPSABLE_PANE_H_GENERIC_ #endif // _WX_COLLAPSABLE_PANE_H_GENERIC_

View File

@@ -19,6 +19,8 @@
#include "wx/collpane.h" #include "wx/collpane.h"
#if wxUSE_BUTTON && wxUSE_STATLINE
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/toplevel.h" #include "wx/toplevel.h"
#include "wx/button.h" #include "wx/button.h"
@@ -236,3 +238,5 @@ void wxGenericCollapsiblePane::OnSize(wxSizeEvent& WXUNUSED(event))
// this is very important to make the pane window layout show correctly // this is very important to make the pane window layout show correctly
m_pPane->Layout(); m_pPane->Layout();
} }
#endif // wxUSE_BUTTON && wxUSE_STATLINE