Disable warnings around all wx includes.
[dcpomatic.git] / src / wx / content_sub_panel.cc
index 9c236abebfef4a1b552b5e8b5f084a283f569a1d..0c775287ac69ab2ec5cd8e9b03c6033a4866ccfe 100644 (file)
 
 */
 
+
 #include "content_sub_panel.h"
 #include "content_panel.h"
 #include "wx_util.h"
 #include "lib/dcp_content.h"
 #include "lib/compose.hpp"
 #include "lib/log.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/notebook.h>
+DCPOMATIC_ENABLE_WARNINGS
+
 
 using std::list;
-using std::string;
 using std::shared_ptr;
+using std::string;
 #if BOOST_VERSION >= 106100
 using namespace boost::placeholders;
 #endif
 
+
 ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name)
        : wxScrolledWindow (p->notebook(), wxID_ANY)
        , _parent (p)