New code for greying out.

Implemented wxTB_FLAT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-02-25 22:56:19 +00:00
parent 70b8ab778f
commit bb312b54f6
2 changed files with 110 additions and 11 deletions

View File

@@ -104,10 +104,13 @@ protected:
private:
wxToolBarTool *m_captured;
wxCoord m_maxWidth, m_maxHeight;
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 );