wxShapeFramework  1.13.0 beta
wxSFDetachedContentCtrl Class Reference

Auxiliary class providing neccessary functionality needed for dialog-based modification of a content of the text shape. More...

#include <EditTextShape.h>

List of all members.

Public Member Functions

 wxSFDetachedContentCtrl (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Edit content"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 Constructor.
 ~wxSFDetachedContentCtrl ()
 Destructor.
void SetContent (const wxString &txt)
 Set content of dialog's text edit control.
wxString GetContent () const
 Get content of dialog's text edit control.

Protected Attributes

wxTextCtrl * m_pText

Detailed Description

Auxiliary class providing neccessary functionality needed for dialog-based modification of a content of the text shape.

See also:
wxSFEditTextShape

Constructor & Destructor Documentation

wxSFDetachedContentCtrl::wxSFDetachedContentCtrl ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  title = _("Edit content"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER 
)

Constructor.

Parameters:
parentPointer to the parent window
idID of the text control window
titleDialog's title
posInitial position
sizeInitial size
styleWindow style

Member Function Documentation

wxString wxSFDetachedContentCtrl::GetContent ( ) const [inline]

Get content of dialog's text edit control.

Returns:
Edited text
void wxSFDetachedContentCtrl::SetContent ( const wxString &  txt) [inline]

Set content of dialog's text edit control.

Parameters:
txtText content

Member Data Documentation

wxTextCtrl* wxSFDetachedContentCtrl::m_pText [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines