source: filezilla/trunk/fuentes/src/interface/xh_text_ex.cpp @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 3 years ago

First release to xenial

File size: 551 bytes
Line 
1#include <filezilla.h>
2
3#include "textctrlex.h"
4#include "xh_text_ex.h"
5
6#ifdef __WXMAC__
7
8IMPLEMENT_DYNAMIC_CLASS(wxTextCtrlXmlHandlerEx, wxTextCtrlXmlHandler)
9
10wxObject *wxTextCtrlXmlHandlerEx::DoCreateResource()
11{
12        XRC_MAKE_INSTANCE(text, wxTextCtrlEx);
13
14        text->Create(m_parentAsWindow,
15                                 GetID(),
16                                 GetText(wxT("value")),
17                                 GetPosition(), GetSize(),
18                                 GetStyle(),
19                                 wxDefaultValidator,
20                                 GetName());
21
22        SetupWindow(text);
23
24        if (HasParam(wxT("maxlength")))
25                text->SetMaxLength(GetLong(wxT("maxlength")));
26
27        return text;
28}
29
30#endif
Note: See TracBrowser for help on using the repository browser.