]> git.saurik.com Git - wxWidgets.git/commitdiff
layout improvement on mac
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 8 May 2002 22:55:14 +0000 (22:55 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 8 May 2002 22:55:14 +0000 (22:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/calctrl.cpp

index 176bc6e0f9470e341f8dde76bf69fef103240c1a..810fa252f57e0fbd3cc4b21385b46dc423133ca6 100644 (file)
@@ -680,8 +680,11 @@ size_t wxCalendarCtrl::GetWeek(const wxDateTime& date) const
 
 // the constants used for the layout
 #define VERT_MARGIN     5           // distance between combo and calendar
+#ifdef __WXMAC__
+#define HORZ_MARGIN    5           //                            spin
+#else
 #define HORZ_MARGIN    15           //                            spin
-
+#endif
 wxSize wxCalendarCtrl::DoGetBestSize() const
 {
     // calc the size of the calendar