~ubuntu-branches/ubuntu/wily/codelite/wily

« back to all changes in this revision

Viewing changes to LiteEditor/cc_boxbase.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-07-29 19:42:47 UTC
  • mfrom: (0.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100729194247-hqgxamd2yl8f1l7x
* New upstream release.
* Bump Standards.
* Refresh patches.
* Add license information about files under ./Debugger/

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
///////////////////////////////////////////////////////////////////////////
2
 
// C++ code generated with wxFormBuilder (version Aug 25 2009)
 
2
// C++ code generated with wxFormBuilder (version May  4 2010)
3
3
// http://www.wxformbuilder.org/
4
4
//
5
5
// PLEASE DO "NOT" EDIT THIS FILE!
25
25
///////////////////////////////////////////////////////////////////////////
26
26
 
27
27
#define TOOL_SHOW_PRIVATE_MEMBERS 1000
 
28
#define TOOL_SHOW_ITEM_COMMENTS 1001
 
29
 
 
30
#ifdef __WXMAC__
 
31
#    define CC_USES_POPUPWIN  0
 
32
#else
 
33
#    define CC_USES_POPUPWIN  1
 
34
#endif
 
35
 
 
36
#if CC_USES_POPUPWIN
 
37
#ifdef __WXGTK__
 
38
#    define CCBoxParent wxPopupWindow
 
39
#    define CC_STYLE    wxBORDER_SIMPLE
 
40
#else
 
41
#    define CCBoxParent wxPopupTransientWindow
 
42
#    define CC_STYLE    wxBORDER_SIMPLE
 
43
#endif
 
44
#    include <wx/popupwin.h>
 
45
#else
 
46
#    define CCBoxParent wxPanel
 
47
#endif
 
48
 
 
49
#define BOX_HEIGHT 250
 
50
#define BOX_WIDTH  250
28
51
 
29
52
///////////////////////////////////////////////////////////////////////////////
30
53
/// Class CCBoxBase
31
54
///////////////////////////////////////////////////////////////////////////////
32
 
class CCBoxBase : public wxPanel
 
55
class CCBoxBase : public CCBoxParent
33
56
{
34
 
        private:
35
 
 
36
 
        protected:
37
 
                CCVirtualListCtrl* m_listCtrl;
38
 
                wxToolBar* m_toolBar1;
39
 
 
40
 
                // Virtual event handlers, overide them in your derived class
41
 
                virtual void OnItemActivated( wxListEvent& event ) { event.Skip(); }
42
 
                virtual void OnItemDeSelected( wxListEvent& event ) { event.Skip(); }
43
 
                virtual void OnItemSelected( wxListEvent& event ) { event.Skip(); }
44
 
                virtual void OnKeyDown( wxListEvent& event ) { event.Skip(); }
45
 
                virtual void OnShowPublicItems( wxCommandEvent& event ) { event.Skip(); }
46
 
 
47
 
 
48
 
        public:
49
 
 
50
 
                CCBoxBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 486,300 ), long style = wxRAISED_BORDER|wxTAB_TRAVERSAL );
51
 
                ~CCBoxBase();
 
57
private:
 
58
 
 
59
protected:
 
60
        CCVirtualListCtrl* m_listCtrl;
 
61
        wxToolBar*         m_toolBar1;
 
62
        wxPanel*           m_mainPanel;
 
63
 
 
64
        // Virtual event handlers, overide them in your derived class
 
65
        virtual void OnItemActivated( wxListEvent& event ) {
 
66
                event.Skip();
 
67
        }
 
68
        virtual void OnItemDeSelected( wxListEvent& event ) {
 
69
                event.Skip();
 
70
        }
 
71
        virtual void OnItemSelected( wxListEvent& event ) {
 
72
                event.Skip();
 
73
        }
 
74
        virtual void OnKeyDown( wxListEvent& event ) {
 
75
                event.Skip();
 
76
        }
 
77
        virtual void OnShowPublicItems( wxCommandEvent& event ) {
 
78
                event.Skip();
 
79
        }
 
80
        virtual void OnShowComments( wxCommandEvent& event ) {
 
81
                event.Skip();
 
82
        }
 
83
 
 
84
 
 
85
public:
 
86
 
 
87
        CCBoxBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 486,300 ), long style = wxRAISED_BORDER|wxTAB_TRAVERSAL );
 
88
        ~CCBoxBase();
52
89
 
53
90
};
54
91