cocoa layout optimization, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c6aa5cafc5
commit
6cd56f6e0f
@ -22,8 +22,13 @@ BEGIN_EVENT_TABLE(wxSlider, wxControl)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
// The dimensions of the different styles of sliders (from Aqua document)
|
||||
#define wxSLIDER_DIMENSIONACROSS_WITHTICKMARKS 24
|
||||
#define wxSLIDER_DIMENSIONACROSS_ARROW 18
|
||||
#ifdef wxOSX_USE_COCOA
|
||||
#define wxSLIDER_DIMENSIONACROSS_WITHTICKMARKS 25
|
||||
#define wxSLIDER_DIMENSIONACROSS_ARROW 21
|
||||
#else
|
||||
#define wxSLIDER_DIMENSIONACROSS_WITHTICKMARKS 24
|
||||
#define wxSLIDER_DIMENSIONACROSS_ARROW 18
|
||||
#endif
|
||||
|
||||
// Distance between slider and text
|
||||
#define wxSLIDER_BORDERTEXT 5
|
||||
|
Loading…
Reference in New Issue
Block a user