00001
00002
00003
00004
00005
00007
00008 #ifndef __topic_display_generated__
00009 #define __topic_display_generated__
00010
00011 #include <wx/treectrl.h>
00012 #include <wx/gdicmn.h>
00013 #include <wx/font.h>
00014 #include <wx/colour.h>
00015 #include <wx/settings.h>
00016 #include <wx/string.h>
00017 #include <wx/sizer.h>
00018 #include <wx/panel.h>
00019 #include <wx/button.h>
00020 #include <wx/dialog.h>
00021
00023
00024 namespace rxtools
00025 {
00026
00030 class GenTopicDisplay : public wxPanel
00031 {
00032 private:
00033
00034 protected:
00035 wxTreeCtrl* topic_tree_;
00036
00037
00038 virtual void onItemActivated( wxTreeEvent& event ){ event.Skip(); }
00039 virtual void checkIsTopic( wxTreeEvent& event ){ event.Skip(); }
00040
00041
00042 public:
00043 GenTopicDisplay( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
00044 ~GenTopicDisplay();
00045
00046 };
00047
00051 class GenTopicDisplayDialog : public wxDialog
00052 {
00053 private:
00054
00055 protected:
00056 wxPanel* tree_panel_;
00057 wxButton* ok_;
00058 wxButton* cancel_;
00059
00060
00061 virtual void onOK( wxCommandEvent& event ){ event.Skip(); }
00062 virtual void onCancel( wxCommandEvent& event ){ event.Skip(); }
00063
00064
00065 public:
00066 GenTopicDisplayDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Browse Topics"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 600,425 ), long style = wxDEFAULT_DIALOG_STYLE );
00067 ~GenTopicDisplayDialog();
00068
00069 };
00070
00071 }
00072
00073 #endif //__topic_display_generated__