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:
Artur Wieczorek
2015-07-15 21:40:24 +02:00
parent 4398e20655
commit 79794391e9
5 changed files with 13 additions and 14 deletions

View File

@@ -246,7 +246,7 @@ class wxPGValidationInfo;
/** If property is supposed to have custom-painted image, then returning
this in OnMeasureImage() will usually be enough.
*/
#define wxPG_DEFAULT_IMAGE_SIZE wxSize(-1, -1)
#define wxPG_DEFAULT_IMAGE_SIZE wxDefaultSize
/** This callback function is used for sorting properties.