Property value images are no longer shrinked horizontally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -2093,6 +2093,11 @@ public: | ||||
|     // Puts correct indexes to children | ||||
|     void FixIndicesOfChildren( unsigned int starthere = 0 ); | ||||
|  | ||||
|     /** | ||||
|         Converts image width into full image offset, with margins. | ||||
|     */ | ||||
|     int GetImageOffset( int imageWidth ) const; | ||||
|  | ||||
| #ifndef SWIG | ||||
|     // Returns wxPropertyGridPageState in which this property resides. | ||||
|     wxPropertyGridPageState* GetParentState() const { return m_parentState; } | ||||
|   | ||||
| @@ -201,6 +201,9 @@ | ||||
| #define wxCC_CUSTOM_IMAGE_MARGIN1       4  // before image | ||||
| #define wxCC_CUSTOM_IMAGE_MARGIN2       5  // after image | ||||
|  | ||||
| #define DEFAULT_IMAGE_OFFSET_INCREMENT \ | ||||
|     (wxCC_CUSTOM_IMAGE_MARGIN1 + wxCC_CUSTOM_IMAGE_MARGIN2) | ||||
|  | ||||
| #define wxPG_DRAG_MARGIN                30 | ||||
|  | ||||
| #if wxPG_NO_CHILD_EVT_MOTION | ||||
|   | ||||
		Reference in New Issue
	
	Block a user