Take const wxWindow in wxBitmapBundle::GetPreferredSizeFor()
This function should be usable in const methods of wxWindow-derived classes too.
This commit is contained in:
@@ -275,7 +275,7 @@ public:
|
||||
|
||||
@param window Non-null and fully created window.
|
||||
*/
|
||||
wxSize GetPreferredSizeFor(wxWindow* window) const;
|
||||
wxSize GetPreferredSizeFor(const wxWindow* window) const;
|
||||
|
||||
/**
|
||||
Get bitmap of the specified size, creating a new bitmap from the closest
|
||||
|
Reference in New Issue
Block a user