Commit 99b381c6 authored by twanvl's avatar twanvl

* use wxBORDER_THEME for custom controls

parent 46f4df73
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_TREE_LIST #ifndef HEADER_GUI_CONTROL_TREE_LIST
#define HEADER_GUI_CONTROL_TREE_LIST #define HEADER_GUI_CONTROL_TREE_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
/// A combination of a TreeCtrl and a ListCtrl. A tree with multiple columns. /// A combination of a TreeCtrl and a ListCtrl. A tree with multiple columns.
class TreeList : public wxPanel { class TreeList : public wxPanel {
public: public:
TreeList(Window* parent, int id, long style = wxSUNKEN_BORDER); TreeList(Window* parent, int id, long style = wxBORDER_THEME);
/// Expand/collapse an item /// Expand/collapse an item
void expand(size_t item, bool expand = true); void expand(size_t item, bool expand = true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment