]> git.saurik.com Git - wxWidgets.git/commitdiff
Add a fudge factor to the size of wxODBC in wxProperty under
authorRobert Roebling <robert@roebling.de>
Tue, 14 Oct 2008 19:37:51 +0000 (19:37 +0000)
committerRobert Roebling <robert@roebling.de>
Tue, 14 Oct 2008 19:37:51 +0000 (19:37 +0000)
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

src/propgrid/editors.cpp

index 506aa71bc784c577a5832d42b5da3ad801b13393..8e0e2e7b156567eb280b71d84eb9ccca1ca9d666 100644 (file)
 #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