Fix DataViewBitmapText assignment

This commit is contained in:
TheLegendTubaGuy
2026-05-17 02:29:39 -05:00
parent 1c0d0b89cc
commit da5a13a032
5 changed files with 121 additions and 13 deletions
+9
View File
@@ -28,6 +28,15 @@ public:
m_bmp(other.m_bmp)
{ }
DataViewBitmapText& operator=(const DataViewBitmapText &other)
{
if (this != &other) {
m_text = other.m_text;
m_bmp = other.m_bmp;
}
return *this;
}
void SetText(const wxString &text) { m_text = text; }
wxString GetText() const { return m_text; }
void SetBitmap(const wxBitmap &bmp) { m_bmp = bmp; }