KeyWorksRW / wxUiEditor

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

Re-enable XRC Tests dialog #1386

Closed Randalphwa closed 6 months ago

Randalphwa commented 6 months ago

This PR re-enables the Debug-build-only XRC Test dialog. The updated version let's you choose which form you want to test, and it adds an Import and Duplicate test. Because the display of the XRC can be edited, it allows for quick verification that a modification works correctly when loaded with wxXmlResource, or imported using our wxSmith XML/XRC importer.

Because of the added functionality, this dialog is now what's invoked from the Debug toolbar button instead of just the Import test.

For the Internal File menu, I put the three XRC tests under a sub-menu. They generally won't be needed, though currently this is the only way to export/import an entire project.

The purpose for all of these changes is to provide a more comprehensive way of verifying that our XRC generation and importation is working correctly.