]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: textctrl.cpp | |
3 | // Purpose: wxTextCtrl | |
4 | // Author: AUTHOR | |
5 | // Modified by: | |
6 | // Created: ??/??/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) AUTHOR | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifdef __GNUG__ | |
13 | #pragma implementation "textctrl.h" | |
14 | #endif | |
15 | ||
16 | #include "wx/defs.h" | |
17 | ||
18 | #if wxUSE_TEXTCTRL | |
19 | ||
20 | #ifdef __DARWIN__ | |
21 | #include <sys/types.h> | |
22 | #include <sys/stat.h> | |
23 | #else | |
24 | #include <stat.h> | |
25 | #endif | |
26 | #include <fstream.h> | |
27 | ||
28 | #include "wx/app.h" | |
29 | #include "wx/dc.h" | |
30 | #include "wx/button.h" | |
31 | #include "wx/toplevel.h" | |
32 | #include "wx/textctrl.h" | |
33 | #include "wx/notebook.h" | |
34 | #include "wx/tabctrl.h" | |
35 | #include "wx/settings.h" | |
36 | #include "wx/filefn.h" | |
37 | #include "wx/utils.h" | |
38 | ||
39 | #if defined(__BORLANDC__) && !defined(__WIN32__) | |
40 | #include <alloc.h> | |
41 | #elif !defined(__MWERKS__) && !defined(__GNUWIN32) && !defined(__DARWIN__) | |
42 | #include <malloc.h> | |
43 | #endif | |
44 | ||
45 | #ifndef __DARWIN__ | |
46 | #include <Scrap.h> | |
47 | #endif | |
48 | #include <MacTextEditor.h> | |
49 | #include "ATSUnicode.h" | |
50 | #include "TextCommon.h" | |
51 | #include "TextEncodingConverter.h" | |
52 | #include "wx/mac/uma.h" | |
53 | ||
54 | extern wxApp *wxTheApp ; | |
55 | // CS:We will replace the TextEdit by using the MultiLanguageTextEngine based on the following code written by apple | |
56 | ||
57 | /* | |
58 | File: mUPControl.c | |
59 | ||
60 | Description: | |
61 | mUPControl implementation. | |
62 | ||
63 | Copyright: | |
64 |