X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/738f9e5a12b8bb3936cc10347be98390602d3660..e938ff5e2013d1181d2eb740f1c9836fc0dc7575:/include/wx/gtk/checklst.h diff --git a/include/wx/gtk/checklst.h b/include/wx/gtk/checklst.h index 3290184e06..11f9980a33 100644 --- a/include/wx/gtk/checklst.h +++ b/include/wx/gtk/checklst.h @@ -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 {