Optimize wxGenericColourDialog
Variable to hold the size of the custom colour box doesn't need to be a member variable since it's used only locally in wxGenericColourDialog::CalculateMeasurements.
This commit is contained in:
@@ -77,9 +77,6 @@ protected:
|
||||
// Size of each colour rectangle
|
||||
wxPoint m_smallRectangleSize;
|
||||
|
||||
// For single customizable colour
|
||||
wxPoint m_customRectangleSize;
|
||||
|
||||
// Grid spacing (between rectangles)
|
||||
int m_gridSpacing;
|
||||
|
||||
|
Reference in New Issue
Block a user