Revert "Fix missing wxOwnerDrawn functions in WXQT wxMenuItem"

This reverts commit 4e23b3e7f4.
wxOwnerDrawn is only used with wxMSW toolkit.
This commit is contained in:
Maarten Bent
2018-10-01 21:47:33 +02:00
parent 519d8fec8a
commit 32d32f8172
2 changed files with 0 additions and 57 deletions

View File

@@ -106,12 +106,6 @@ bool wxMenuItem::IsChecked() const
}
void wxMenuItem::SetBitmaps(const wxBitmap& WXUNUSED(bmpChecked),
const wxBitmap& WXUNUSED(bmpUnchecked))
{
wxMISSING_FUNCTION();
}
void wxMenuItem::SetBitmap(const wxBitmap& WXUNUSED(bitmap))
{
wxMISSING_FUNCTION();
@@ -131,34 +125,6 @@ QAction *wxMenuItem::GetHandle() const
return m_qtAction;
}
#if wxUSE_OWNER_DRAWN
void wxMenuItem::SetDisabledBitmap(const wxBitmap& bmpDisabled)
{
m_bmpDisabled = bmpDisabled;
wxMISSING_FUNCTION();
}
const wxBitmap& wxMenuItem::GetDisabledBitmap() const
{
wxMISSING_FUNCTION();
return m_bmpDisabled;
}
wxString wxMenuItem::GetName() const
{
return GetItemLabelText();
}
bool wxMenuItem::OnDrawItem(wxDC& WXUNUSED(dc), const wxRect& WXUNUSED(rc),
wxODAction WXUNUSED(act), wxODStatus WXUNUSED(stat))
{
wxMISSING_FUNCTION();
return false;
}
#endif // wxUSE_OWNER_DRAWN
//=============================================================================
wxQtAction::wxQtAction( wxMenu *parent, int id, const wxString &text, const wxString &help,