X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa61d3525370a9b9fa8c797d9b7f89d96994db5f..3786c8b587f82e406ba9656847b5bff4ed9209c2:/include/wx/radiobox.h diff --git a/include/wx/radiobox.h b/include/wx/radiobox.h index 41e7014aae..655f73b2ba 100644 --- a/include/wx/radiobox.h +++ b/include/wx/radiobox.h @@ -30,11 +30,8 @@ public: // change/query the individual radio button state virtual bool Enable(unsigned int n, bool enable = true) = 0; virtual bool Show(unsigned 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(unsigned int WXUNUSED(n)) const { return true; } - virtual bool IsItemShown(unsigned int WXUNUSED(n)) const { return true; } + virtual bool IsItemEnabled(unsigned int n) const = 0; + virtual bool IsItemShown(unsigned int n) const = 0; // return number of columns/rows in this radiobox unsigned int GetColumnCount() const { return m_numCols; }