only include ProfilerPanel when profiling is enabled

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1578 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2011-01-05 21:19:35 +00:00
parent 9b3d244fe3
commit a696a18905
+4
View File
@@ -10,6 +10,8 @@
#include <script/profiler.hpp>
#include <wx/dcbuffer.h>
#if USE_SCRIPT_PROFILING
DECLARE_TYPEOF_COLLECTION(FunctionProfileP);
// -----------------------------------------------------------------------------
@@ -177,3 +179,5 @@ void show_profiler_window(wxWindow* parent) {
dlg->SetSizer(sizer);
dlg->Show();
}
#endif