X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/738f9e5a12b8bb3936cc10347be98390602d3660..0b5eceb638d6fc9cfa5326cd00b10028fc823187:/include/wx/gtk/checklst.h?ds=sidebyside 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 {