KeyWorksRW / wxUiEditor

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

Conditionalize char/short in tt_string::Format #1342

Closed Randalphwa closed 8 months ago

Randalphwa commented 8 months ago

Neither char or short work as currently coded when compiled with gcc.

This PR conditionalizes use of char and short in tt_string::Format. This generate a warning when compiled with gcc since using them will cause a GPF. These now all generate a FAIL_MSG under Debug builds and are conditionalized to only be available when building on Windows. As far as I know, this isn't ever used, but for now I'm leaving it in place until I've verified that it's never called, while at the same time ignoring it on Linux builds.