cbMiniButton is the base class for a small button that can be placed in a wxToolWindow titlebar.
Derived from
wxObject (REF NOT FOUND)
Include files
<wx/fl/toolwnd.h>
Data structures
Members
cbMiniButton::cbMiniButton
cbMiniButton::Draw
cbMiniButton::Enable
cbMiniButton::HitTest
cbMiniButton::IsPressed
cbMiniButton::OnLeftDown
cbMiniButton::OnLeftUp
cbMiniButton::OnMotion
cbMiniButton::Refresh
cbMiniButton::Reset
cbMiniButton::SetPos
cbMiniButton::WasClicked
cbMiniButton()
Default constructor.
void Draw(wxDC& dc)
Draws the button. Override this to implement the desired appearance.
void Enable(bool enable)
Enable or disable the button.
bool HitTest(const wxPoint& pos)
Returns TRUE if the given position was over the button.
bool IsPressed()
Returns TRUE if this button is pressed.
void OnLeftDown(const wxPoint& pos)
Responds to a left down event.
void OnLeftUp(const wxPoint& pos)
Responds to a left up event.
void OnMotion(const wxPoint& pos)
Responds to a mouse move event.
void Refresh()
Refreshes the button.
void Reset()
Reset the button.
void SetPos(const wxPoint& pos)
Set the position of the button.
bool WasClicked()
Returns TRUE if the button was clicked.