Merge branch 'docs-events' of https://github.com/PBfordev/wxWidgets
Several improvements to the event-related docs. See #22448.
This commit is contained in:
@@ -389,7 +389,7 @@ Another common example of a generic functor is boost::function<> or, since
|
|||||||
C++11, std::function<>:
|
C++11, std::function<>:
|
||||||
|
|
||||||
@code
|
@code
|
||||||
#if __cplusplus >= 201103L || wxCHECK_VISUALC_VERSION(10)
|
#if wxCHECK_CXX_STD(201103L)
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace std::placeholders;
|
using namespace std::placeholders;
|
||||||
#else // Pre C++11 compiler
|
#else // Pre C++11 compiler
|
||||||
@@ -477,7 +477,7 @@ doesn't count as having handled the event and the search continues):
|
|||||||
checking the static event table entries, so if both a dynamic and a static
|
checking the static event table entries, so if both a dynamic and a static
|
||||||
event handler match the same event, the static one is never going to be
|
event handler match the same event, the static one is never going to be
|
||||||
used unless wxEvent::Skip() is called in the dynamic one. Also note that
|
used unless wxEvent::Skip() is called in the dynamic one. Also note that
|
||||||
the dynamically bound handlers are searched in order of their registration
|
the dynamically bound handlers are searched in reverse order of their registration
|
||||||
during program run-time, i.e. later bound handlers take priority over the
|
during program run-time, i.e. later bound handlers take priority over the
|
||||||
previously bound ones.
|
previously bound ones.
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ enum wxAuiToolBarToolTextOrientation
|
|||||||
wxAuiToolBarEvent is used for the events generated by @ref wxAuiToolBar.
|
wxAuiToolBarEvent is used for the events generated by @ref wxAuiToolBar.
|
||||||
|
|
||||||
@library{wxaui}
|
@library{wxaui}
|
||||||
@category{aui}
|
@category{aui,events}
|
||||||
*/
|
*/
|
||||||
class wxAuiToolBarEvent : public wxNotifyEvent
|
class wxAuiToolBarEvent : public wxNotifyEvent
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -559,7 +559,7 @@ wxEventType wxEVT_HTML_LINK_CLICKED;
|
|||||||
@endEventTable
|
@endEventTable
|
||||||
|
|
||||||
@library{wxhtml}
|
@library{wxhtml}
|
||||||
@category{html}
|
@category{html,events}
|
||||||
*/
|
*/
|
||||||
class wxHtmlLinkEvent : public wxCommandEvent
|
class wxHtmlLinkEvent : public wxCommandEvent
|
||||||
{
|
{
|
||||||
@@ -592,7 +592,7 @@ public:
|
|||||||
@endEventTable
|
@endEventTable
|
||||||
|
|
||||||
@library{wxhtml}
|
@library{wxhtml}
|
||||||
@category{html}
|
@category{html,events}
|
||||||
*/
|
*/
|
||||||
class wxHtmlCellEvent : public wxCommandEvent
|
class wxHtmlCellEvent : public wxCommandEvent
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1332,7 +1332,7 @@ public:
|
|||||||
@endEventTable
|
@endEventTable
|
||||||
|
|
||||||
@library{wxpropgrid}
|
@library{wxpropgrid}
|
||||||
@category{propgrid}
|
@category{propgrid,events}
|
||||||
*/
|
*/
|
||||||
class wxPropertyGridEvent : public wxCommandEvent
|
class wxPropertyGridEvent : public wxCommandEvent
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -479,7 +479,7 @@ public:
|
|||||||
@endEventTable
|
@endEventTable
|
||||||
|
|
||||||
@library{wxnet}
|
@library{wxnet}
|
||||||
@category{net}
|
@category{net,events}
|
||||||
|
|
||||||
@see wxSocketBase, wxSocketClient, wxSocketServer
|
@see wxSocketBase, wxSocketClient, wxSocketServer
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -902,6 +902,9 @@ public:
|
|||||||
/**
|
/**
|
||||||
Event generated by wxTreeListCtrl.
|
Event generated by wxTreeListCtrl.
|
||||||
|
|
||||||
|
@category{ctrl,events}
|
||||||
|
|
||||||
|
|
||||||
@since 2.9.3
|
@since 2.9.3
|
||||||
*/
|
*/
|
||||||
class wxTreeListEvent : public wxNotifyEvent
|
class wxTreeListEvent : public wxNotifyEvent
|
||||||
|
|||||||
@@ -788,7 +788,7 @@ public:
|
|||||||
@since 3.1.5
|
@since 3.1.5
|
||||||
|
|
||||||
@library{wxnet}
|
@library{wxnet}
|
||||||
@category{net}
|
@category{net,events}
|
||||||
|
|
||||||
@see wxWebRequest
|
@see wxWebRequest
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user