User forums > Help

redefinition of wxFrame & wxApp

<< < (2/2)

Jenna:

--- Quote from: Danishx83 on May 03, 2012, 08:27:22 pm ---Project title "wx" <-------------Problem creator :o, caught it, but the template must cater for newbies like me

--- End quote ---
I don't think so, sorry,  but there is no way to check for all possible redefinitions in all toolkit we have wizards for.

Danishx83:
the problem is that when I named my project as "wx", it created the class wxFrame for my application and was trying to extend the project wxFrame with base class wxFrame. I think a simple solution to it would be to append a "_" or some char between the project name and object type (Frame, Dialog etc) so that no project name could ever replicate the original base class identifiers.

Danishx83:
My limited exposure to the world of coding says that such a change to the templets should be easy and improvement.

oBFusCATed:

--- Quote from: Danishx83 on May 06, 2012, 07:43:52 pm ---the problem is that when I named my project as "wx", it created the class wxFrame for my application and was trying to extend the project wxFrame with base class wxFrame. I think a simple solution to it would be to append a "_" or some char between the project name and object type (Frame, Dialog etc) so that no project name could ever replicate the original base class identifiers.

--- End quote ---
Doesn't sound like a good solution...

Navigation

[0] Message Index

[*] Previous page

Go to full version