Make m_originalColWidths impervious to init-order issues.
This commit is contained in:
parent
abb1915114
commit
f8b8bc78bd
|
@ -91,7 +91,7 @@ private:
|
|||
int m_delayedFocusRow;
|
||||
int m_delayedFocusColumn;
|
||||
|
||||
int m_originalColWidths[ COL_COUNT ];
|
||||
std::map<int, int> m_originalColWidths; // map col-number : orig-col-width
|
||||
wxSize m_size;
|
||||
bool m_initialized;
|
||||
inline static bool s_alternatesTurndownOpen = false;
|
||||
|
|
|
@ -83,7 +83,7 @@ private:
|
|||
std::map<wxString, std::shared_ptr<NETCLASS>> m_lastLoaded;
|
||||
int m_lastCheckedTicker;
|
||||
|
||||
std::vector<int> m_originalColWidths;
|
||||
std::map<int, int> m_originalColWidths; // Map col-number : orig-col-width
|
||||
bool m_netclassesDirty; // The netclass drop-down menus need rebuilding
|
||||
int m_hoveredCol; // Column being hovered over, for tooltips
|
||||
wxString m_lastPattern;
|
||||
|
|
Loading…
Reference in New Issue