These functions can be useful outside of src/common/fontcmn.cpp and, potentially, even in the user code, so make them public methods of wxFont. No real changes, just add asserts verifying input argument value to GetWeightClosestToNumericValue().
These functions can be useful outside of src/common/fontcmn.cpp and, potentially, even in the user code, so make them public methods of wxFont. No real changes, just add asserts verifying input argument value to GetWeightClosestToNumericValue().