- virtual bool Enable(int n, bool enable = true) = 0;
- virtual bool Show(int n, bool show = true) = 0;
-
- // NB: these functions are stubbed here for now but should become pure
- // virtual once all ports implement them
- virtual bool IsItemEnabled(int WXUNUSED(n)) const { return true; }
- virtual bool IsItemShown(int WXUNUSED(n)) const { return true; }
+ virtual bool Enable(unsigned int n, bool enable = true) = 0;
+ virtual bool Show(unsigned int n, bool show = true) = 0;
+ virtual bool IsItemEnabled(unsigned int n) const = 0;
+ virtual bool IsItemShown(unsigned int n) const = 0;