mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
fix compile
This commit is contained in:
@@ -16,12 +16,14 @@
|
|||||||
|
|
||||||
/// A list of installed and downloadable packages
|
/// A list of installed and downloadable packages
|
||||||
class PackageUpdateList : public TreeList {
|
class PackageUpdateList : public TreeList {
|
||||||
|
private:
|
||||||
|
class TreeItem;
|
||||||
public:
|
public:
|
||||||
|
typedef intrusive_ptr<TreeItem> TreeItemP;
|
||||||
|
|
||||||
PackageUpdateList(Window* parent, const InstallablePackages& packages, bool show_only_installable, int id = wxID_ANY);
|
PackageUpdateList(Window* parent, const InstallablePackages& packages, bool show_only_installable, int id = wxID_ANY);
|
||||||
~PackageUpdateList();
|
~PackageUpdateList();
|
||||||
|
|
||||||
class TreeItem;
|
|
||||||
|
|
||||||
inline InstallablePackageP getSelectedPackage() const {
|
inline InstallablePackageP getSelectedPackage() const {
|
||||||
TreeItem* ti = getSelectedItem();
|
TreeItem* ti = getSelectedItem();
|
||||||
return ti ? ti->package : InstallablePackageP();
|
return ti ? ti->package : InstallablePackageP();
|
||||||
@@ -96,9 +98,6 @@ private:
|
|||||||
/// Show only packages with an installer?
|
/// Show only packages with an installer?
|
||||||
bool show_only_installable;
|
bool show_only_installable;
|
||||||
|
|
||||||
public:
|
|
||||||
typedef intrusive_ptr<TreeItem> TreeItemP;
|
|
||||||
private:
|
|
||||||
class TreeItem : public Item {
|
class TreeItem : public Item {
|
||||||
public:
|
public:
|
||||||
TreeItem() : position_type(TYPE_OTHER), position_hint(1000000) {}
|
TreeItem() : position_type(TYPE_OTHER), position_hint(1000000) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user