Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#6021: Introduce DeclarationTreeView based on ResourceTreeView.
- Loading branch information
1 parent
2086a1c
commit 17c9c07
Showing
7 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "DeclarationTreeView.h" | ||
|
||
namespace wxutil | ||
{ | ||
|
||
DeclarationTreeView::DeclarationTreeView(wxWindow* parent, const Columns& columns, long style) : | ||
DeclarationTreeView(parent, TreeModel::Ptr(), columns, style) | ||
{} | ||
|
||
DeclarationTreeView::DeclarationTreeView(wxWindow* parent, const TreeModel::Ptr& model, const Columns& columns, long style) : | ||
ResourceTreeView(parent, model, columns, style) | ||
{} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#pragma once | ||
|
||
#include "ResourceTreeView.h" | ||
|
||
namespace wxutil | ||
{ | ||
|
||
class DeclarationTreeView : | ||
public ResourceTreeView | ||
{ | ||
public: | ||
DeclarationTreeView(wxWindow* parent, const Columns& columns, long style = wxDV_SINGLE); | ||
DeclarationTreeView(wxWindow* parent, const TreeModel::Ptr& model, const Columns& columns, long style = wxDV_SINGLE); | ||
}; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters