Applied fix #11254: assert on wxEVT_MOUSE_CAPTURE_LOST and wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1776,6 +1776,11 @@ public:
|
||||
// overridden wxWindow methods
|
||||
virtual void Fit();
|
||||
|
||||
#if wxABI_VERSION >= 20812
|
||||
// implementation only
|
||||
void CancelMouseCapture();
|
||||
#endif
|
||||
|
||||
protected:
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
|
||||
@@ -2091,7 +2096,7 @@ public:
|
||||
return ControlDown();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
virtual wxEvent *Clone() const { return new wxGridSizeEvent(*this); }
|
||||
|
||||
protected:
|
||||
@@ -2148,7 +2153,7 @@ public:
|
||||
return ControlDown();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
virtual wxEvent *Clone() const { return new wxGridRangeSelectEvent(*this); }
|
||||
|
||||
protected:
|
||||
@@ -2183,7 +2188,7 @@ public:
|
||||
void SetRow(int row) { m_row = row; }
|
||||
void SetCol(int col) { m_col = col; }
|
||||
void SetControl(wxControl* ctrl) { m_ctrl = ctrl; }
|
||||
|
||||
|
||||
virtual wxEvent *Clone() const { return new wxGridEditorCreatedEvent(*this); }
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user