diff --git a/include/wx/utils.h b/include/wx/utils.h index bba3284404..b2c0d71fff 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -229,6 +229,12 @@ public: bool MiddleDown() { return m_middleDown; } bool RightDown() { return m_rightDown; } +#if wxABI_VERSION >= 20811 + bool LeftIsDown() { return m_leftDown; } + bool MiddleIsDown() { return m_middleDown; } + bool RightIsDown() { return m_rightDown; } +#endif // wx >= 2.8.11 + bool ControlDown() { return m_controlDown; } bool ShiftDown() { return m_shiftDown; } bool AltDown() { return m_altDown; } diff --git a/version-script.in b/version-script.in index 9c8708a158..88d21a56cc 100644 --- a/version-script.in +++ b/version-script.in @@ -33,6 +33,7 @@ *wxDC*SetDeviceClippingRegion*; *wxGraphicsContext*GetCairoRenderer*; *wxIconizeEvent*IsIconized*; + *wxMouseState*IsDown*; *wxRichTextCtrl*GetContextMenu*; *wxRichTextCtrl*SetContextMenu*; *wxShowEvent*IsShown*;