add wxMouseEvent::GetClickCount() and implement it for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -189,6 +189,7 @@ All (GUI):
|
||||
- Added support for drop down toolbar buttons (Tim Kosse).
|
||||
- Added support for labels for toolbar controls (Vince Harron).
|
||||
- Added wxMessageDialog::SetMessage() and SetExtendedMessage().
|
||||
- Added wxMouseEvent::GetClickCount() (Julian Scheid)
|
||||
- Added wxBG_STYLE_TRANSPARENT background style (Julian Scheid)
|
||||
- Added XRCSIZERITEM() macro for obtaining sizers from XRC (Brian Vanderburg II)
|
||||
- New and improved wxFileCtrl (Diaa Sami and Marcin Wojdyr)
|
||||
|
@@ -366,6 +366,20 @@ double click events, {\tt wxMOUSE\_BTN\_MIDDLE} and {\tt wxMOUSE\_BTN\_RIGHT}
|
||||
for the same events for the middle and the right buttons respectively.
|
||||
|
||||
|
||||
\membersection{wxMouseEvent::GetClickCount}\label{wxmouseeventgetclickcount}
|
||||
|
||||
\constfunc{int}{GetClickCount}{\void}
|
||||
|
||||
Returns the number of mouse clicks for this event: $1$ for a simple click, $2$
|
||||
for a double-click, $3$ for a triple-click and so on.
|
||||
|
||||
Currently this function is implemented only in wxMac and returns $-1$ for the
|
||||
other platforms (you can still distinguish simple clicks from double-clicks as
|
||||
they generate different kinds of events however).
|
||||
|
||||
\newsince{2.9.0}
|
||||
|
||||
|
||||
\membersection{wxMouseEvent::GetPosition}\label{wxmouseeventgetposition}
|
||||
|
||||
\constfunc{wxPoint}{GetPosition}{\void}
|
||||
|
Reference in New Issue
Block a user