Fix #11: Gallery list best size: Invalidate cache and don't use DoGetBestClientSize

Revert "Cleanup: use DoGetBestClientSize"
This reverts commit 5700005243.

DoGetBestClient size is a nice idea, but it doesn't take scrollbars into account.
This commit is contained in:
Twan van Laarhoven
2020-04-30 20:14:25 +02:00
parent 06471e5231
commit 77e2ff8fd7
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ class GalleryList : public wxPanel {
virtual void onSelect(size_t item, size_t col, bool& changes) {}
/// Return the desired size of control
virtual wxSize DoGetBestClientSize() const;
virtual wxSize DoGetBestSize() const;
/// Information on the subcolumns. These are columns inside items
struct SubColumn {