Enabled tech ENABLE_RENDER_STATISTICS

This commit is contained in:
enricoturri1966 2020-12-04 15:36:30 +01:00
parent 15b56c9950
commit 1445c0ad3a
4 changed files with 53 additions and 19 deletions

View file

@ -366,6 +366,11 @@ public:
bool inside_snapshot_capture();
#if ENABLE_RENDER_STATISTICS
void toggle_render_statistic_dialog();
bool is_render_statistic_dialog_visible() const;
#endif // ENABLE_RENDER_STATISTICS
// Wrapper around wxWindow::PopupMenu to suppress error messages popping out while tracking the popup menu.
bool PopupMenu(wxMenu *menu, const wxPoint& pos = wxDefaultPosition);
bool PopupMenu(wxMenu *menu, int x, int y) { return this->PopupMenu(menu, wxPoint(x, y)); }