KeyWorksRW / wxUiEditor

RAD tool used to create and maintain wxWidgets UI elements.
Apache License 2.0
63 stars 7 forks source link

Bug: It's possible to accidentally create var_name with same name as a validator variable #1319

Closed KeyWorksRW closed 8 months ago

KeyWorksRW commented 9 months ago

Description:

As I discovered the hard way, wxUiEditor currently allows setting a var_name and a validator name the same. This occurred when a local varname had no class access and was the same as the validator name but without the `mprefix. Changing the class access toprotected:added them_` prefix apparently without checking for unique name.