Build fix after 948ddc6e0f

This commit is contained in:
Paul Cornett 2020-02-03 09:34:01 -08:00
parent 1a9da25c33
commit 6e52a70582
2 changed files with 2 additions and 2 deletions

View File

@ -429,7 +429,7 @@ int MyApp::OnExit()
return 0;
}
bool MyApp::TileBitmap(const wxRect& rect, wxDC& dc, wxBitmap& bitmap)
bool MyApp::TileBitmap(const wxRect& rect, wxDC& dc, const wxBitmap& bitmap)
{
int w = bitmap.GetWidth();
int h = bitmap.GetHeight();

View File

@ -50,7 +50,7 @@ public:
//// Operations
// Tile the bitmap
bool TileBitmap(const wxRect& rect, wxDC& dc, wxBitmap& bitmap);
bool TileBitmap(const wxRect& rect, wxDC& dc, const wxBitmap& bitmap);
//// Accessors
const wxBitmap& GetBackgroundBitmap() const { return m_background; }