wxUiEditor
wxUiEditor copied to clipboard
Bug: Linking error due to one or more multiply defined symbols found for wxueImage() function
Description:
I have a solution where two distinct wxUiEditor projects are involved, even though I don't think two distinct projects matter.
Anyway, these two projects generate the function wxImage wxueImage(const unsigned char* data, size_t size_data)
into two different cpp files.
This leads in a linking error ...
In my opinion the function wxueImage
should be generated using the class name as its prefix; in my case:
wxImage wxhKeyDialogDesigner_wxueImage(const unsigned char* data, size_t size_data)
wxImage CKeyboardDesigner_wxueImage(const unsigned char* data, size_t size_data)
or as it was before, the function should be created as an inline
member
inline wxImage wxueImage(const unsigned char* data, size_t size_data)