X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/012a01fc1ea0f4c870eaf66bb332617affa5abd0..45da7759b82ec09ade8236a17f822dc54c5e5483:/contrib/include/wx/fl/newbmpbtn.h diff --git a/contrib/include/wx/fl/newbmpbtn.h b/contrib/include/wx/fl/newbmpbtn.h index 609923f417..455b54aad5 100644 --- a/contrib/include/wx/fl/newbmpbtn.h +++ b/contrib/include/wx/fl/newbmpbtn.h @@ -70,8 +70,6 @@ protected: bool mDragStarted; bool mIsPressed; bool mIsInFocus; - bool mPrevPressedState; - bool mPrevInFocusState; bool mHasFocusedBmp; @@ -166,14 +164,23 @@ public: // Renders label images. virtual void RenderAllLabelImages(); + // Enables/disables button + virtual bool Enable(bool enable); + // Responds to a left mouse button down event. void OnLButtonDown( wxMouseEvent& event ); // Responds to a left mouse button up event. void OnLButtonUp( wxMouseEvent& event ); - // Responds to a mouse move event. - void OnMouseMove( wxMouseEvent& event ); + // Responds to a left mouse button double click. + void OnLButtonDClick( wxMouseEvent& event ); + + // Responds to mouse enter to window. + void OnMouseEnter( wxMouseEvent& event ); + + // Responds to mouse leave from window. + void OnMouseLeave( wxMouseEvent& event ); // Responds to a size event. void OnSize( wxSizeEvent& event );