From: Robert Roebling Date: Tue, 14 Oct 2008 19:37:51 +0000 (+0000) Subject: Add a fudge factor to the size of wxODBC in wxProperty under X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/53ba104ecfe8bbaef5d1d186298863b360b14d34 Add a fudge factor to the size of wxODBC in wxProperty under wxMac. I've been unable to find out what shrinks the control under wxMac. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/propgrid/editors.cpp b/src/propgrid/editors.cpp index 506aa71bc7..8e0e2e7b15 100644 --- a/src/propgrid/editors.cpp +++ b/src/propgrid/editors.cpp @@ -142,8 +142,13 @@ #endif // for odcombo +#ifdef __WXMAC__ +#define wxPG_CHOICEXADJUST 0 +#define wxPG_CHOICEYADJUST -3 +#else #define wxPG_CHOICEXADJUST 0 #define wxPG_CHOICEYADJUST 0 +#endif #define ODCB_CUST_PAINT_MARGIN 6 // Number added to image width for SetCustomPaintWidth