redrawing of editors (for drop down lists)

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@155 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-23 13:26:53 +00:00
parent 2233295cfd
commit dcdd000aef
8 changed files with 39 additions and 12 deletions
+1
View File
@@ -30,6 +30,7 @@ void NativeLookEditor::draw(DC& dc) {
DataViewer::draw(rdc, wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
}
void NativeLookEditor::drawViewer(RotatedDC& dc, ValueViewer& v) {
if (!shouldDraw(v)) return;
// draw background
Style& s = *v.getStyle();
dc.SetPen(*wxTRANSPARENT_PEN);