From 0801d52c97aa274c5764dbeb876e668130abc247 Mon Sep 17 00:00:00 2001 From: CLARATION Date: Wed, 29 Jul 2026 23:44:42 -0700 Subject: [PATCH] feat(wx): add basic menubar for quit --- src/wx/AppFrame.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/wx/AppFrame.cpp b/src/wx/AppFrame.cpp index 48999ab..2c8d017 100644 --- a/src/wx/AppFrame.cpp +++ b/src/wx/AppFrame.cpp @@ -71,6 +71,13 @@ MainFrame::MainFrame() SetSizer(root); + // menu bar + #if __APPLE__ + auto* menuBar = new wxMenuBar; + SetMenuBar(menuBar); + #endif + + // listeners Bind(EVT_DEVICE_STATE_UPDATE, [this](wxCommandEvent& e) { auto* state = static_cast(e.GetClientData());