Show wxRendererNative::DrawChoice() in the render sample too

See #18255.
This commit is contained in:
Vadim Zeitlin
2019-10-25 17:47:02 +02:00
parent 6d1b6c71c4
commit 2b3e3d6c10

View File

@@ -315,7 +315,12 @@ private:
renderer.DrawItemText(this, dc, "DrawItemText()",
wxRect(x2, y, widthListItem, heightListItem).Inflate(-2, -2), m_align, m_flags | wxCONTROL_SELECTED);
y += lineHeight + heightListItem;
y += heightListItem;
dc.DrawText("DrawChoice()", x1, y + 20);
renderer.DrawChoice(this, dc, wxRect(x2, y, 80, 50), m_flags);
y += 50;
}
int m_flags;