From 7cbaeae265b382f454d767cc15320952fbd7a2f1 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 11 Jul 2020 21:33:56 +0100 Subject: [PATCH] Fix compile issue on OSX. (OSX is always double-buffered so wxWidgets left that method out of the OSX impl. Might have been nicer if they had just no-op'ed it.) --- include/widgets/wx_menubar.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/widgets/wx_menubar.h b/include/widgets/wx_menubar.h index 3469b1664b..538d009eab 100644 --- a/include/widgets/wx_menubar.h +++ b/include/widgets/wx_menubar.h @@ -53,6 +53,10 @@ public: // Don't use the passed in accelerator table, create a new empty one wxMenuBar::SetAcceleratorTable( wxAcceleratorTable() ); } + +#ifdef __WXMAC__ + void SetDoubleBuffered( bool ) { } +#endif }; -#endif // COMMON_WIDGETS_WX_BUSY_INDICATOR__H +#endif // WX_MENUBAR_H_