remove unused macro definitions
and limit others to the configurations which use them git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,7 +45,6 @@
|
||||
// meaningless if LEFT_MARGIN_CAN_BE_SET set to 1 in combocmn.cpp
|
||||
#define TEXTCTRLXADJUST 0
|
||||
|
||||
#define TEXTXADJUST 0 // how much is read-only text's x adjusted
|
||||
#define DEFAULT_DROPBUTTON_WIDTH 19
|
||||
|
||||
#elif defined(__WXMSW__)
|
||||
@@ -54,7 +53,6 @@
|
||||
// meaningless if LEFT_MARGIN_CAN_BE_SET set to 1 in combocmn.cpp
|
||||
#define TEXTCTRLXADJUST 2
|
||||
|
||||
#define TEXTXADJUST 0 // how much is read-only text's x adjusted
|
||||
#define DEFAULT_DROPBUTTON_WIDTH 17
|
||||
|
||||
#elif defined(__WXGTK__)
|
||||
@@ -63,7 +61,6 @@
|
||||
// meaningless if LEFT_MARGIN_CAN_BE_SET set to 1 in combocmn.cpp
|
||||
#define TEXTCTRLXADJUST -1
|
||||
|
||||
#define TEXTXADJUST 1 // how much is read-only text's x adjusted
|
||||
#define DEFAULT_DROPBUTTON_WIDTH 23
|
||||
|
||||
#elif defined(__WXMAC__)
|
||||
@@ -72,7 +69,6 @@
|
||||
// meaningless if LEFT_MARGIN_CAN_BE_SET set to 1 in combocmn.cpp
|
||||
#define TEXTCTRLXADJUST 0
|
||||
|
||||
#define TEXTXADJUST 0 // how much is read-only text's x adjusted
|
||||
#define DEFAULT_DROPBUTTON_WIDTH 22
|
||||
|
||||
#else
|
||||
@@ -81,7 +77,6 @@
|
||||
// meaningless if LEFT_MARGIN_CAN_BE_SET set to 1 in combocmn.cpp
|
||||
#define TEXTCTRLXADJUST 0
|
||||
|
||||
#define TEXTXADJUST 0 // how much is read-only text's x adjusted
|
||||
#define DEFAULT_DROPBUTTON_WIDTH 19
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user