No changes, just fix a typo in wxBannerWindow documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
524cb04066
commit
d50fc4dc6d
@ -47,7 +47,10 @@ enum
|
||||
|
||||
wxTL_DEFAULT_STYLE = wxTL_SINGLE,
|
||||
wxTL_STYLE_MASK = wxTL_SINGLE |
|
||||
wxTL_CHECKBOX
|
||||
wxTL_MULTIPLE |
|
||||
wxTL_CHECKBOX |
|
||||
wxTL_3STATE |
|
||||
wxTL_USER_3STATE
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -1,5 +1,5 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: interface.wx/bannerwindow.h
|
||||
// Name: interface/wx/bannerwindow.h
|
||||
// Purpose: wxBannerWindow class documentation
|
||||
// Author: Vadim Zeitlin
|
||||
// Created: 2011-08-16
|
||||
|
@ -499,7 +499,14 @@ const char* MyFrame::CheckedStateString(wxCheckBoxState state)
|
||||
|
||||
void MyFrame::OnSelectionChanged(wxTreeListEvent& event)
|
||||
{
|
||||
wxLogMessage("Selection changed to \"%s\"", DumpItem(event.GetItem()));
|
||||
const char* msg;
|
||||
|
||||
if ( m_treelist->HasFlag(wxTL_MULTIPLE) )
|
||||
msg = "Selection of the \"%s\" item changed.";
|
||||
else
|
||||
msg = "Selection changed, now is \"%s\".";
|
||||
|
||||
wxLogMessage(msg, DumpItem(event.GetItem()));
|
||||
}
|
||||
|
||||
void MyFrame::OnItemExpanding(wxTreeListEvent& event)
|
||||
|
Loading…
Reference in New Issue
Block a user