X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb4079af5ba82f05e1115f0f0c734b77cf8164e7..cbef7338c1c7763042704c74d5ee6f62c7e10733:/include/wx/listbase.h?ds=sidebyside diff --git a/include/wx/listbase.h b/include/wx/listbase.h index df07401a0e..287ce790d6 100644 --- a/include/wx/listbase.h +++ b/include/wx/listbase.h @@ -23,7 +23,7 @@ // type of compare function for wxListCtrl sort operation typedef -int (wxCALLBACK *wxListCtrlCompare)(long item1, long item2, wxIntPtr sortData); +int (wxCALLBACK *wxListCtrlCompare)(wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData); // ---------------------------------------------------------------------------- // wxListCtrl constants @@ -183,9 +183,9 @@ public: void SetFont(const wxFont& font) { m_font = font; } // accessors - bool HasTextColour() const { return m_colText.Ok(); } - bool HasBackgroundColour() const { return m_colBack.Ok(); } - bool HasFont() const { return m_font.Ok(); } + bool HasTextColour() const { return m_colText.IsOk(); } + bool HasBackgroundColour() const { return m_colBack.IsOk(); } + bool HasFont() const { return m_font.IsOk(); } const wxColour& GetTextColour() const { return m_colText; } const wxColour& GetBackgroundColour() const { return m_colBack; }