Develop and Download Open Source Software

Browse CVS Repository

Contents of /malonnote/mnTextCtrl.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Sat Aug 13 02:00:29 2005 UTC (18 years, 7 months ago) by maloninc
Branch: MAIN
CVS Tags: rel_1_3, rel_1_4, dev_1_3-0008, dev_1_3-0004, dev_1_3-0005, dev_1_3-0006, dev_1_3-0007, dev_1_3-0001, dev_1_3-0002, dev_1_3-0003, rel-1_1, dev_1_5-0002, dev_1_5-0001, rel_1_7_1, dev_1_5-0004, dev_1_4-0001, dev_1_4-0003, dev_1_4-0002, dev_1_4-0005, dev_1_4-0006, dev-1_2-0001, dev-1_1-0009, dev_1_6-0005, dev_1_6-0004, dev_1_6-0003, dev_1_6-0002, dev_1_6-0001, dev-1_1-0008, HEAD
Changes since 1.1: +6 -2 lines
File MIME type: text/x-chdr
Error occurred while calculating annotation data.
for Mac backslash(not yen mark) and emacs like keybind for mac(incomplete)

1 #ifndef MNTEXTCTRL_H
2 #define MNTEXTCTRL_H
3
4 #include <wx/wx.h>
5 #include <wx/textctrl.h>
6
7 class mnTextCtrl: public wxTextCtrl {
8 public:
9 mnTextCtrl(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=0, const wxValidator& validator=wxDefaultValidator, const wxString& name=wxTextCtrlNameStr):
10 wxTextCtrl(parent, id, title, pos, size, style, validator, name) {}
11 void handleKeyDown(wxKeyEvent& event);
12 void MSW_handleKeyDown(wxKeyEvent& event);
13 void MAC_handleKeyDown(wxKeyEvent& event);
14 void GTK_handleKeyDown(wxKeyEvent& event);
15
16 DECLARE_EVENT_TABLE()
17 };
18
19 #endif //MNTEXTCTRL_H

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26