wxFreeButton

A borderless button.  The class wxFreeButton exists because there is no satisfactory way in wxWidgets to have a button with no borders, that can still be clicked.  The behavior of a wxFreeButton is in all ways similar to a wxButton, except that there are no borders around the button, making it seem embedded into the parent window.  NOTE: wxFreeButton currently only works in Win32.

Derived From

wxButton (see http://www.wxwidgets.org/manuals/2.4.2/wx46.htm)

Project

UICore

Include

FreeButton.h

Summary
A borderless button.
The wxFreeButton constructor.
The button style.

Public

Summary
The wxFreeButton constructor.

Constructors

wxFreeButton

wxFreeButton(wxWindow *parent, 
wxWindowID id, 
const wxString &label, 
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
long style = 0)

The wxFreeButton constructor.  Creates the button with the given label, position, style, size, etc.

Parameters

parentThe parent window.  Must not be NULL.
idThe message handling ID.  Should be a unique (to the parent window) ID, if the parent window wants to receive messages from the control.
labelThe button text.
posThe button position in window coordinates.
sizeThe button size.
styleThe button style.

Private

Summary
The button style.

Variables

mStyle

long mStyle

The button style.

wxFreeButton(wxWindow *parent, 
wxWindowID id, 
const wxString &label, 
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
long style = 0)
The wxFreeButton constructor.
long mStyle
The button style.
UICore provides a set of common UI controls that promote a constant look and feel across all aspects of the UI.