const wxString& shortHelpString,
const wxString& longHelpString);
virtual wxToolBarToolBase *CreateTool(wxControl *control);
-
+
private:
wxToolBarTool *m_captured;
+ wxToolBarTool *m_underMouse;
+ wxCoord m_maxWidth, m_maxHeight;
private:
void OnMouse( wxMouseEvent &event );
+ void OnEnter( wxMouseEvent &event );
+ void OnLeave( wxMouseEvent &event );
void RefreshTool( wxToolBarTool *tool );
void DrawToolBarTool( wxToolBarTool *tool, wxDC &dc, bool down );
void OnPaint( wxPaintEvent &event );