wxBitmapBundle for wxMenuItem on Mac

This commit is contained in:
Alexander Koshelev
2022-02-03 11:18:34 +03:00
parent 27be2ed641
commit 337940f009
5 changed files with 89 additions and 7 deletions

View File

@@ -66,6 +66,12 @@ public:
// containing this position.
bool OSXGetRadioGroupRange(int pos, int *start, int *end) const;
#if wxUSE_MENUBAR
virtual void Attach(wxMenuBarBase *menubar) wxOVERRIDE;
#endif
void SetupBitmaps();
protected:
// hide special menu items like exit, preferences etc
// that are expected in the app menu
@@ -163,6 +169,9 @@ public:
static void MacSetCommonMenuBar(wxMenuBar* menubar) { s_macCommonMenuBar=menubar; }
static wxMenuBar* MacGetCommonMenuBar() { return s_macCommonMenuBar; }
virtual void Attach(wxFrame *frame) wxOVERRIDE;
void SetupBitmaps();
static WXHMENU MacGetWindowMenuHMenu() { return s_macWindowMenuHandle ; }