summaryrefslogtreecommitdiff
path: root/LiteEditor/cc_boxbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'LiteEditor/cc_boxbase.h')
-rw-r--r--LiteEditor/cc_boxbase.h67
1 files changed, 52 insertions, 15 deletions
diff --git a/LiteEditor/cc_boxbase.h b/LiteEditor/cc_boxbase.h
index d6f71928..09adf7cc 100644
--- a/LiteEditor/cc_boxbase.h
+++ b/LiteEditor/cc_boxbase.h
@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
+// C++ code generated with wxFormBuilder (version May 4 2010)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
@@ -25,30 +25,67 @@
///////////////////////////////////////////////////////////////////////////
#define TOOL_SHOW_PRIVATE_MEMBERS 1000
+#define TOOL_SHOW_ITEM_COMMENTS 1001
+
+#ifdef __WXMAC__
+# define CC_USES_POPUPWIN 0
+#else
+# define CC_USES_POPUPWIN 1
+#endif
+
+#if CC_USES_POPUPWIN
+#ifdef __WXGTK__
+# define CCBoxParent wxPopupWindow
+# define CC_STYLE wxBORDER_SIMPLE
+#else
+# define CCBoxParent wxPopupTransientWindow
+# define CC_STYLE wxBORDER_SIMPLE
+#endif
+# include <wx/popupwin.h>
+#else
+# define CCBoxParent wxPanel
+#endif
+
+#define BOX_HEIGHT 250
+#define BOX_WIDTH 250
///////////////////////////////////////////////////////////////////////////////
/// Class CCBoxBase
///////////////////////////////////////////////////////////////////////////////
-class CCBoxBase : public wxPanel
+class CCBoxBase : public CCBoxParent
{
- private:
+private:
- protected:
- CCVirtualListCtrl* m_listCtrl;
- wxToolBar* m_toolBar1;
+protected:
+ CCVirtualListCtrl* m_listCtrl;
+ wxToolBar* m_toolBar1;
+ wxPanel* m_mainPanel;
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemActivated( wxListEvent& event ) { event.Skip(); }
- virtual void OnItemDeSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnKeyDown( wxListEvent& event ) { event.Skip(); }
- virtual void OnShowPublicItems( wxCommandEvent& event ) { event.Skip(); }
+ // Virtual event handlers, overide them in your derived class
+ virtual void OnItemActivated( wxListEvent& event ) {
+ event.Skip();
+ }
+ virtual void OnItemDeSelected( wxListEvent& event ) {
+ event.Skip();
+ }
+ virtual void OnItemSelected( wxListEvent& event ) {
+ event.Skip();
+ }
+ virtual void OnKeyDown( wxListEvent& event ) {
+ event.Skip();
+ }
+ virtual void OnShowPublicItems( wxCommandEvent& event ) {
+ event.Skip();
+ }
+ virtual void OnShowComments( wxCommandEvent& event ) {
+ event.Skip();
+ }
- public:
+public:
- CCBoxBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 486,300 ), long style = wxRAISED_BORDER|wxTAB_TRAVERSAL );
- ~CCBoxBase();
+ CCBoxBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 486,300 ), long style = wxRAISED_BORDER|wxTAB_TRAVERSAL );
+ ~CCBoxBase();
};