X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b150bffc9e137b1fbcb29592512642f65ed331f2..db7035e48a4ccc6265fa01949cb92db3c6b6c17f:/include/wx/motif/colour.h?ds=sidebyside diff --git a/include/wx/motif/colour.h b/include/wx/motif/colour.h index 9c8bb43a42..e7d12c14b2 100644 --- a/include/wx/motif/colour.h +++ b/include/wx/motif/colour.h @@ -22,9 +22,6 @@ class WXDLLEXPORT wxColour : public wxColourBase public: // constructors // ------------ - - // default - wxColour() { Init(); } DEFINE_STD_WXCOLOUR_CONSTRUCTORS // copy ctors and assignment operators @@ -36,7 +33,7 @@ public: // accessors - bool IsOk() const {return m_isInit; } + virtual bool IsOk() const {return m_isInit; } unsigned char Red() const { return m_red; } unsigned char Green() const { return m_green; } unsigned char Blue() const { return m_blue; }