From 64ee1d68b12d71d09badfa895bc6690bbfe61ce1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 21 Aug 2011 14:08:52 +0000 Subject: [PATCH] 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 --- include/wx/checkbox.h | 12 ------------ include/wx/defs.h | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) 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 { -- 2.47.2