X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a30e7029749646348aaacf61da9ed66743d77a40..0d28a1f9271606b5a38b4b7b2a78bd869bb7d520:/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