Make custom renderer in dataview sample DPI Aware
This commit is contained in:
parent
6f7f387b1b
commit
c661be4fc9
@ -262,7 +262,7 @@ public:
|
||||
|
||||
virtual wxSize GetSize() const wxOVERRIDE
|
||||
{
|
||||
return wxSize(60,20);
|
||||
return GetView()->FromDIP(wxSize(60, 20));
|
||||
}
|
||||
|
||||
virtual bool SetValue( const wxVariant &value ) wxOVERRIDE
|
||||
|
Loading…
Reference in New Issue
Block a user