]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/menuitem.h
Make wxFindReplaceData accessors const.
[wxWidgets.git] / interface / wx / menuitem.h
index 5df24fdc81add8bb8d729652cb78fa90910c0225..6b103a3c1ac45a8d0732ce85d824a2a81b2e7509 100644 (file)
@@ -316,6 +316,11 @@ public:
         @a checked is @true (default value) or SetBitmaps(wxNullBitmap, bmp)
         otherwise.
 
+        SetBitmap() must be called before the item is appended to the menu,
+        i.e. appending the item without a bitmap and setting one later is not
+        guaranteed to work. But the bitmap can be changed or reset later if it
+        had been set up initially.
+
         Notice that GTK+ uses a global setting called @c gtk-menu-images to
         determine if the images should be shown in the menus at all. If it is
         off (which is the case in e.g. Gnome 2.28 by default), no images will