Add wxFontPickerCtrl::SetMinPointSize()

Allow setting the minimal, as well as maximal, point size.

Closes #17126.
This commit is contained in:
Andreas Falkenhahn
2016-11-22 02:31:11 +01:00
committed by Vadim Zeitlin
parent 60c93971b3
commit accf7ab117
4 changed files with 47 additions and 6 deletions

View File

@@ -109,6 +109,13 @@ public:
*/
unsigned int GetMaxPointSize() const;
/**
Returns the minimum point size value allowed for the user-chosen font.
@since 3.1.1
*/
unsigned int GetMinPointSize() const;
/**
Returns the currently selected colour.
@@ -137,6 +144,15 @@ public:
*/
void SetMaxPointSize(unsigned int max);
/**
Sets the minimum point size value allowed for the user-chosen font.
The default value is 0.
@since 3.1.1
*/
void SetMinPointSize(unsigned int min);
/**
Sets the font colour.