From: Vadim Zeitlin Date: Sun, 21 Aug 2011 14:08:52 +0000 (+0000) Subject: No changes, just move wxCheckBoxState to wx/defs.h from wx/checkbox.h. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/64ee1d68b12d71d09badfa895bc6690bbfe61ce1 No changes, just move wxCheckBoxState to wx/defs.h from wx/checkbox.h. Move the enum to allow reusing it in other places. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 {