source: filezilla/trunk/fuentes/src/interface/textctrlex.h @ 130

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

First release to xenial

File size: 404 bytes
Line 
1#ifndef __TEXTCTRLEX_H__
2#define __TEXTCTRLEX_H__
3
4#include <wx/textctrl.h>
5
6#ifdef __WXMAC__
7// Subclassed wxTextCtrl to disable pasting of formatting, we're only ever interested in the text.
8class wxTextCtrlEx : public wxTextCtrl
9{
10public:
11        virtual void Paste();
12};
13
14const wxTextAttr& GetDefaultTextCtrlStyle(wxTextCtrl* ctrl);
15
16#else
17
18#define wxTextCtrlEx wxTextCtrl
19
20#endif
21
22#endif //__TEXTCTRLEX_H__
Note: See TracBrowser for help on using the repository browser.