A basic text control. A text control is a UI mechanism for users to enter text. The class wxBaseTextCtrl provides a simple base class for all text controls in the game, providing a common look and feel across UI objects. It is in all ways like a wxTextCtrl, except that it sets its background to the background color of the parent window.
wxTextCtrl (see http://www.wxwidgets.org/manuals/2.4.2/wx381.htm)
BaseTextCtrl.h
A basic text control. | |
The wxBaseTextCtrl constructor. |
|
The wxBaseTextCtrl constructor. Creates the text control with the given position, style, size, etc.
| parent | The parent window. Must not be NULL. |
| id | The message handling ID. Should be a unique (to the parent window) ID, if the parent window wants to receive messages from the control. |
| pos | The button position in window coordinates. |
| size | The button size. |
| style | The button style. |
|