Auxiliary class providing neccessary functionality needed for in-place modification of a content of the text shape.
More...
#include <EditTextShape.h>
Auxiliary class providing neccessary functionality needed for in-place modification of a content of the text shape.
- See also
- wxSFEditTextShape
◆ wxSFContentCtrl()
wxSFContentCtrl::wxSFContentCtrl |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id, |
|
|
wxSFEditTextShape * |
parentShape, |
|
|
const wxString & |
content, |
|
|
wxPoint |
pos, |
|
|
wxSize |
size, |
|
|
int |
style |
|
) |
| |
\brief Constructor.
- Parameters
-
parent | Pointer to the parent window |
id | ID of the text control window |
parentShape | Pointer to the parent editable text shape |
content | Initial content of the text control |
pos | Initial position |
size | Initial size |
style | Window style |
◆ DECLARE_EVENT_TABLE()
wxSFContentCtrl::DECLARE_EVENT_TABLE |
( |
| ) |
|
|
protected |
◆ OnKeyDown()
void wxSFContentCtrl::OnKeyDown |
( |
wxKeyEvent & |
event | ) |
|
|
protected |
Event handler called if the key was pressed in the text control.
- Parameters
-
event | Reference to the event class instance |
◆ OnKillFocus()
void wxSFContentCtrl::OnKillFocus |
( |
wxFocusEvent & |
event | ) |
|
|
protected |
\brief Event handler called if the text control lost the focus.
- Parameters
-
event | Reference to the event class instance |
◆ Quit()
Finish the editing process/.
- Parameters
-
apply | If TRUE then changes made in eddited text will be applied on text shape, otherwise it will be canceled |
◆ m_pParent
wxWindow* wxSFContentCtrl::m_pParent |
|
protected |
◆ m_pParentShape
◆ m_sPrevContent
wxString wxSFContentCtrl::m_sPrevContent |
|
protected |
The documentation for this class was generated from the following file: