Declare wxPG_DEFAULT_IMAGE_SIZE as wxDefaultSize constant.
wxDefaultSize is an equivalent of wxSize(-1,-1) but is more portable.
This commit is contained in:
@@ -802,7 +802,7 @@ wxVariant wxFontProperty::ChildChanged( wxVariant& thisValue,
|
||||
/*
|
||||
wxSize wxFontProperty::OnMeasureImage() const
|
||||
{
|
||||
return wxSize(-1,-1);
|
||||
return wxPG_DEFAULT_IMAGE_SIZE;
|
||||
}
|
||||
|
||||
void wxFontProperty::OnCustomPaint(wxDC& dc,
|
||||
|
||||
Reference in New Issue
Block a user