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:
Artur Wieczorek
2015-10-24 11:45:57 +02:00
parent 6af5329710
commit 7399fb3428
2 changed files with 5 additions and 9 deletions

View File

@@ -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;