33 wxCheckBox* m_CheckActiveLabelCtrl;
34 wxChoice* m_FieldCtrl;
35 wxButton* m_AddFieldBtn;
36 wxTextCtrl* m_TextCtrl;
37 wxButton* m_AddTextBtn;
39 wxRichTextCtrl* m_PreviewCtrl;
44 wxString m_LabelDefinition;
46 void _CreateControls();
48 void _UpdatePreview();
50 virtual bool TransferDataToWindow();
53 void OnAddField(wxCommandEvent& event);
55 void OnAddText(wxCommandEvent& event);
57 void OnClear(wxCommandEvent& event);
61 wxWindowID
id = wxID_ANY,
const wxString& title = _(
"Labels"),
const wxSize& size = wxDefaultSize,
62 long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
66 wxString GetLabelDefinition() {
67 return m_LabelDefinition;
70 bool IsLabelVisible() {
71 return m_CheckActiveLabelCtrl->GetValue();