modified check listbox indicators and made them customizable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-12-28 14:07:00 +00:00
parent df5ddbca48
commit d752a3c394
6 changed files with 54 additions and 48 deletions

View File

@@ -24,15 +24,22 @@
#include "wx/control.h"
#include "wx/listbox.h"
//-----------------------------------------------------------------------------
// classes
//-----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// macros
// ----------------------------------------------------------------------------
class wxCheckListBox;
// there is no "right" choice of the checkbox indicators, so allow the user to
// define them himself if he wants
#ifndef wxCHECKLBOX_CHECKED
#define wxCHECKLBOX_CHECKED _T('x')
#define wxCHECKLBOX_UNCHECKED _T(' ')
//-----------------------------------------------------------------------------
#define wxCHECKLBOX_STRING _T("[ ] ")
#endif
// ----------------------------------------------------------------------------
// wxCheckListBox
//-----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
class wxCheckListBox : public wxListBox
{