X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=bacula%2Fsrc%2Fwx-console%2Fwxbtreectrl.h;h=3cf6012f272bf993fffdd5b4d4f80916adbcbc0b;hb=10c05f312f2836c0d04a7478d2c33a14aa82631b;hp=e1710313a5f2f0d87d86ac86a43a2663c640256a;hpb=d63a5649eea93bcdf6cb9b50166c9b78ba8aa63e;p=bacula%2Fbacula diff --git a/bacula/src/wx-console/wxbtreectrl.h b/bacula/src/wx-console/wxbtreectrl.h index e1710313a5..3cf6012f27 100644 --- a/bacula/src/wx-console/wxbtreectrl.h +++ b/bacula/src/wx-console/wxbtreectrl.h @@ -5,6 +5,7 @@ * * Nicolas Boichat, April 2004 * + * Version $Id$ */ /* Copyright (C) 2004 Kern Sibbald and John Walker @@ -46,7 +47,7 @@ class wxbTreeMarkedEvent: public wxEvent { ~wxbTreeMarkedEvent(); wxbTreeMarkedEvent(const wxbTreeMarkedEvent& te); virtual wxEvent *Clone() const; - + wxTreeItemId GetItem(); private: wxTreeItemId item; @@ -56,9 +57,9 @@ typedef void (wxEvtHandler::*wxTreeMarkedEventFunction)(wxbTreeMarkedEvent&); #define EVT_TREE_MARKED_EVENT(id, fn) \ DECLARE_EVENT_TABLE_ENTRY( \ - wxbTREE_MARKED_EVENT, id, wxID_ANY, \ - (wxObjectEventFunction)(wxEventFunction)(wxTreeMarkedEventFunction)&fn, \ - (wxObject *) NULL \ + wxbTREE_MARKED_EVENT, id, wxID_ANY, \ + (wxObjectEventFunction)(wxEventFunction)(wxTreeMarkedEventFunction)&fn, \ + (wxObject *) NULL \ ), /* Customized tree, which transmit double clicks on images */ @@ -66,15 +67,14 @@ class wxbTreeCtrl: public wxTreeCtrl { public: wxbTreeCtrl(wxWindow* parent, wxEvtHandler* handler, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize); ~wxbTreeCtrl(); - + private: void OnDoubleClicked(wxMouseEvent& event); void OnRightClicked(wxMouseEvent& event); - + wxEvtHandler* handler; - + DECLARE_EVENT_TABLE(); }; #endif // WXBTREECTRL_H -