Remove unnecessary wxBitmap copy ctor from wxQt

This ctor is not needed as the inherited wxObject ctor is sufficient and
defining it but not operator=() explicitly results in -Wdeprecated-copy
from gcc 10.
This commit is contained in:
Vadim Zeitlin
2020-08-30 22:01:08 +02:00
parent 19bc293086
commit 9f63592eba
2 changed files with 0 additions and 6 deletions

View File

@@ -174,11 +174,6 @@ wxBitmap::wxBitmap(QPixmap pix)
m_refData = new wxBitmapRefData(pix);
}
wxBitmap::wxBitmap(const wxBitmap& bmp)
{
Ref(bmp);
}
wxBitmap::wxBitmap(const char bits[], int width, int height, int depth )
{
wxASSERT(depth == 1);