X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/089ca539acced38d70e750e4a9589cf8d175ec5d..a5bb451448bc5abdadd4ded3f3bc18dbbf07fedd:/src/ribbon/panel.cpp diff --git a/src/ribbon/panel.cpp b/src/ribbon/panel.cpp index 68a8d216e8..bb6257dfcf 100644 --- a/src/ribbon/panel.cpp +++ b/src/ribbon/panel.cpp @@ -8,22 +8,23 @@ // Copyright: (C) Peter Cawley // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// + #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif +#if wxUSE_RIBBON + +#include "wx/ribbon/panel.h" #include "wx/ribbon/art.h" #include "wx/ribbon/bar.h" -#include "wx/ribbon/panel.h" #include "wx/dcbuffer.h" #include "wx/display.h" -#include "wx/frame.h" - -#if wxUSE_RIBBON #ifndef WX_PRECOMP +#include "wx/frame.h" #endif #ifdef __WXMSW__ @@ -42,7 +43,7 @@ BEGIN_EVENT_TABLE(wxRibbonPanel, wxRibbonControl) EVT_SIZE(wxRibbonPanel::OnSize) END_EVENT_TABLE() -wxRibbonPanel::wxRibbonPanel() +wxRibbonPanel::wxRibbonPanel() : m_expanded_dummy(NULL), m_expanded_panel(NULL) { }