X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a30e7029749646348aaacf61da9ed66743d77a40..125e7c11c16f23daa4c594f3b8d90194099c2394:/include/wx/generic/statbmpg.h diff --git a/include/wx/generic/statbmpg.h b/include/wx/generic/statbmpg.h index 010ec66012..4a2ece335c 100644 --- a/include/wx/generic/statbmpg.h +++ b/include/wx/generic/statbmpg.h @@ -45,9 +45,9 @@ public: virtual wxBitmap GetBitmap() const { return m_bitmap; } - virtual void SetIcon(const wxIcon& icon) - { - m_bitmap.CopyFromIcon(icon); + virtual void SetIcon(const wxIcon& icon) + { + m_bitmap.CopyFromIcon(icon); SetInitialSize(GetBitmapSize()); Refresh(); } @@ -59,7 +59,7 @@ public: private: - wxSize GetBitmapSize() + wxSize GetBitmapSize() { return m_bitmap.Ok() ? wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight()) : wxSize(16, 16); // this is completely arbitrary