mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-13 14:07:01 -04:00
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:
@@ -10,6 +10,8 @@
|
|||||||
#include <script/profiler.hpp>
|
#include <script/profiler.hpp>
|
||||||
#include <wx/dcbuffer.h>
|
#include <wx/dcbuffer.h>
|
||||||
|
|
||||||
|
#if USE_SCRIPT_PROFILING
|
||||||
|
|
||||||
DECLARE_TYPEOF_COLLECTION(FunctionProfileP);
|
DECLARE_TYPEOF_COLLECTION(FunctionProfileP);
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
@@ -177,3 +179,5 @@ void show_profiler_window(wxWindow* parent) {
|
|||||||
dlg->SetSizer(sizer);
|
dlg->SetSizer(sizer);
|
||||||
dlg->Show();
|
dlg->Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user