Fixed Bar/Histogram meters containing wrong width/height values when used with images

This commit is contained in:
Brian Ferguson
2012-08-04 17:15:56 -06:00
parent e2ce7d59a7
commit 90c81e01d1
7 changed files with 8 additions and 8 deletions

View File

@ -38,7 +38,7 @@ protected:
virtual void ReadOptions(CConfigParser& parser, const WCHAR* section);
virtual void BindMeasures(CConfigParser& parser, const WCHAR* section);
virtual bool IsFixedSize() { return m_ImageName.empty(); }
virtual bool IsFixedSize(bool overwrite = false) { return m_ImageNameResult.empty(); }
private:
void LoadImage(const std::wstring& imageName, bool bLoadAlways);