Hi volto,
welcome to the Cafu forums!
volto wrote:Code: Select all
CaWE/FontWizard/FontWizard.cpp: In constructor FontWizardT::FontWizardT(wxWindow*)':
CaWE/FontWizard/FontWizard.cpp:34:116: error: cannot call constructor wxBitmap::wxBitmap' directly
CaWE/FontWizard/FontWizard.cpp:34:116: error: for a function-style cast, remove the redundant '::wxBitmap'
This is interesting. The error message seems to be correct and to the point, but I'm surprised that no other compiler has detected this so far, or said the other way round, that all compilers that we normally use seem to accept this without further notice.
Have you tried if it works when you do what the message suggests, i.e. replace
Code: Select all
wxBitmap::wxBitmap("CaWE/res/FontWizard.png", wxBITMAP_TYPE_PNG)
with
Code: Select all
wxBitmap("CaWE/res/FontWizard.png", wxBITMAP_TYPE_PNG)
?
Please let me know what compiler you use, I'd be very interested?
And of course if it works with the above change, and if there are more places like this?
The wxGTK-devel Package are in version 2.8.10.1
Cafu comes with its own (v 2.9.1+) copy of wxWidgets, so the wxGTK-devel package is not used at all.
Thanks for reporting this, I hope the above solution helps.
Btw., if you use Subversion, you can also run
svn update - I've just committed the above change into the repository as well.