Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12051 closed defect (invalid)

wxMenuItem standard bitmaps not displayed

Reported by: johnr Owned by:
Priority: normal Milestone:
Component: wxMSW Version: stable-latest
Keywords: wxMenuItem bitmap Cc:
Blocked By: Blocking:
Patch: no


SVN trunk MSW (not tested with others)
wxMenuItem standard bitmaps are not displayed when using standard identifiers eg wxID_SAVE.

See the menu sample.

Change History (3)

comment:1 follow-up: Changed 8 years ago by vadz

  • Milestone 2.9.1 deleted
  • Resolution set to invalid
  • Status changed from new to closed

There are no standard menu bitmaps in (wx)MSW.

comment:2 in reply to: ↑ 1 Changed 8 years ago by johnr

Replying to vadz:

There are no standard menu bitmaps in (wx)MSW.

Might be worth a mention in wxMenuItem docs to reflect this.
wxMenuItem::wxMenuItem makes no mention of that.

use all stock properties:


use all stock properties except for the bitmap:

wxMenuItem *mymenu = new wxMenuItem(helpMenu, wxID_ABOUT);

Although I see "Stock items" have only GTK column and they look bad when used on msw.

comment:3 Changed 8 years ago by VZ

(In [64313]) Mention that stock bitmaps are a wxGTK-only feature for now.

Apparently people expect to see stock bitmaps under MSW too, make it clear
that they won't be used there.

See #12051.

Note: See TracTickets for help on using tickets.