- // compatibility only, don't use
-#if WXWIN_COMPATIBILITY_2_2
- wxDEPRECATED( const wxBitmap& GetBitmap1() const );
- wxDEPRECATED( const wxBitmap& GetBitmap2() const );
-
- wxDEPRECATED( void SetBitmap1(const wxBitmap& bmp) );
- wxDEPRECATED( void SetBitmap2(const wxBitmap& bmp) );
-#endif // WXWIN_COMPATIBILITY_2_2
+ // these methods are only for tools of wxITEM_DROPDOWN kind (but even such
+ // tools can have a NULL associated menu)
+ void SetDropdownMenu(wxMenu *menu);
+ wxMenu *GetDropdownMenu() const { return m_dropdownMenu; }