Improve appearance of wxBitmapComboBox under OS X.

The bitmap that appears next to the edit field is being cropped
vertically after a certain bitmap height. Increase the vertical spacing
reserved for the bitmap under OS X to fix the cropping.
This commit is contained in:
Dimitri Schoolwerth
2015-04-26 15:02:56 +04:00
parent d15bfe8794
commit 6a48281447

View File

@@ -41,7 +41,12 @@
#endif
#define IMAGE_SPACING_CTRL_VERTICAL 7 // Spacing used in control size calculation
// Spacing used in control size calculation
#ifdef __WXOSX__
#define IMAGE_SPACING_CTRL_VERTICAL 12
#else
#define IMAGE_SPACING_CTRL_VERTICAL 7
#endif
// ============================================================================