diff --git a/include/wx/checkbox.h b/include/wx/checkbox.h index 6177aeb5d4..3ecfb6169f 100644 --- a/include/wx/checkbox.h +++ b/include/wx/checkbox.h @@ -41,18 +41,6 @@ */ #define wxCHK_ALLOW_3RD_STATE_FOR_USER 0x2000 -/* - * The possible states of a 3-state checkbox (Compatible - * with the 2-state checkbox). - */ -enum wxCheckBoxState -{ - wxCHK_UNCHECKED, - wxCHK_CHECKED, - wxCHK_UNDETERMINED /* 3-state checkbox only */ -}; - - extern WXDLLIMPEXP_DATA_CORE(const char) wxCheckBoxNameStr[]; // ---------------------------------------------------------------------------- diff --git a/include/wx/defs.h b/include/wx/defs.h index 0fcac961c8..e2e80ec3b2 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -2235,6 +2235,18 @@ enum wxItemKind wxITEM_MAX }; +/* + * The possible states of a 3-state checkbox (Compatible + * with the 2-state checkbox). + */ +enum wxCheckBoxState +{ + wxCHK_UNCHECKED, + wxCHK_CHECKED, + wxCHK_UNDETERMINED /* 3-state checkbox only */ +}; + + /* hit test results */ enum wxHitTest {