Skip to content

Conversation

@agalasso
Copy link
Contributor

cosmetic: cleanup config mixed case key names

wxWidgets documentation is not clear about the case-sensitivity of
wxConfig key names, but key names are case-insensitive.

Windows uses wxRegConfig which is always case-insensitive.
Mac and Linux use wxFileConfig which has a compile time option,
wxCONFIG_CASE_SENSITIVE, which defaults to 0 so those platforms
are also case insensitive.

For consistency and to prevent readers of the code from going off into
the weeds, this PR updates a few keys to use consistent mixed case.

This is purely a cosmetic change and has no effect at run time for PHD2.

wxWidgets documentation is not clear about the case-sensitivity of
wxConfig key names, but key names are case-insensitive.

Windows uses wxRegConfig which is always case-insensitive.
Mac and Linux use wxFileConfig which has a compile time option,
wxCONFIG_CASE_SENSITIVE, which defaults to 0 so those platforms
are also case insensitive.

For consistency and to prevent readers of the code from going off into
the weeds, this PR updates a few keys to use consistent mixed case.

This is purely a cosmetic change and has no effect at run time for PHD2.
@agalasso agalasso self-assigned this Jan 31, 2026
@agalasso agalasso requested a review from bwdev01 January 31, 2026 18:28
Copy link
Contributor

@bwdev01 bwdev01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job, thanks for tracking them down.

@agalasso agalasso merged commit e1e5fb0 into master Feb 1, 2026
4 checks passed
@agalasso agalasso deleted the andy/config-key-names-mixed-case-cleanup branch February 1, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants