XTI support for checklist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9af163d74d
commit
a2825c340a
@ -67,8 +67,8 @@
|
|||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
// TODO: wxCONSTRUCTOR
|
|
||||||
#if 0 // wxUSE_EXTENDED_RTTI
|
#if wxUSE_EXTENDED_RTTI
|
||||||
WX_DEFINE_FLAGS( wxCheckListBoxStyle )
|
WX_DEFINE_FLAGS( wxCheckListBoxStyle )
|
||||||
|
|
||||||
wxBEGIN_FLAGS( wxCheckListBoxStyle )
|
wxBEGIN_FLAGS( wxCheckListBoxStyle )
|
||||||
@ -106,6 +106,7 @@ wxBEGIN_FLAGS( wxCheckListBoxStyle )
|
|||||||
wxFLAGS_MEMBER(wxLB_ALWAYS_SB)
|
wxFLAGS_MEMBER(wxLB_ALWAYS_SB)
|
||||||
wxFLAGS_MEMBER(wxLB_NEEDED_SB)
|
wxFLAGS_MEMBER(wxLB_NEEDED_SB)
|
||||||
wxFLAGS_MEMBER(wxLB_SORT)
|
wxFLAGS_MEMBER(wxLB_SORT)
|
||||||
|
wxFLAGS_MEMBER(wxLB_OWNERDRAW)
|
||||||
|
|
||||||
wxEND_FLAGS( wxCheckListBoxStyle )
|
wxEND_FLAGS( wxCheckListBoxStyle )
|
||||||
|
|
||||||
@ -113,19 +114,18 @@ IMPLEMENT_DYNAMIC_CLASS_XTI(wxCheckListBox, wxListBox,"wx/checklst.h")
|
|||||||
|
|
||||||
wxBEGIN_PROPERTIES_TABLE(wxCheckListBox)
|
wxBEGIN_PROPERTIES_TABLE(wxCheckListBox)
|
||||||
wxEVENT_PROPERTY( Toggle , wxEVT_COMMAND_CHECKLISTBOX_TOGGLED , wxCommandEvent )
|
wxEVENT_PROPERTY( Toggle , wxEVT_COMMAND_CHECKLISTBOX_TOGGLED , wxCommandEvent )
|
||||||
|
wxPROPERTY_FLAGS( WindowStyle , wxCheckListBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , , wxLB_OWNERDRAW /*flags*/ , wxT("Helpstring") , wxT("group")) // style
|
||||||
wxPROPERTY_FLAGS( WindowStyle , wxCheckListBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
|
|
||||||
wxEND_PROPERTIES_TABLE()
|
wxEND_PROPERTIES_TABLE()
|
||||||
|
|
||||||
|
wxBEGIN_HANDLERS_TABLE(wxCheckListBox)
|
||||||
|
wxEND_HANDLERS_TABLE()
|
||||||
|
|
||||||
|
wxCONSTRUCTOR_4( wxCheckListBox , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size )
|
||||||
|
|
||||||
#else
|
#else
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
|
IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
TODO PROPERTIES
|
|
||||||
list content
|
|
||||||
item , checked (no)
|
|
||||||
*/
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// declaration and implementation of wxCheckListBoxItem class
|
// declaration and implementation of wxCheckListBoxItem class
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user