mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-13 05:57:00 -04:00
Fix #9: Don't use wxWidgets' best size calculation for card and keyword lists.
This commit is contained in:
@@ -92,7 +92,11 @@ class ItemList : public wxListView {
|
||||
void focusItem(const VoidP& item, bool focus = true);
|
||||
/// Count the number of focused items
|
||||
long focusCount() const;
|
||||
|
||||
|
||||
// --------------------------------------------------- : Fixing wx issues
|
||||
|
||||
wxSize DoGetBestClientSize() const;
|
||||
|
||||
// --------------------------------------------------- : Data
|
||||
VoidP selected_item; ///< The currently selected item
|
||||
long selected_item_pos; ///< Position of the selected item in the sorted_list, or -1 if no card is selected
|
||||
|
||||
Reference in New Issue
Block a user