wxSmith Couldn't Add New Handler

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Experienced Solver
Experienced Solver
Posts: 52
Joined: Sun May 01, 2016 2:48 am

wxSmith Couldn't Add New Handler

Postby Lowkus » Wed May 16, 2018 8:34 pm

When I try to look at the events list in wxSmith, on any of three forms, it is not showing the events that I had created through wxSmith in the past. If I try to add an event now, wxSmith asks me for an event name and I enter a unique name, then it throws an error "Couldn't Add New Handler". Querying the search engines for answers, someone said it can happen when the project file points to incorrect files, but I don't see anything wrong (see code). What is the reason that wxSmith is failing to handle events correctly? How can I get it working again?

Code: Select all

         <code_completion />
         <envvars />
         <debugger />
         <wxsmith version="1">
            <gui name="wxWidgets" src="src\cshpApp.cpp" main="frmTr" init_handlers="necessary" language="CPP" />
               <wxFrame wxs="wxsmith/frmMa.wxs" src="src/frmMa.cpp" hdr="src/inc/frmMa.h" fwddecl="0" i18n="1" name="frmMa" language="CPP" />
               <wxFrame wxs="wxsmith/frmPa.wxs" src="src/frmPa.cpp" hdr="src/inc/frmPa.h" fwddecl="0" i18n="1" name="frmPa" language="CPP" />
               <wxFrame wxs="wxsmith/frmTr.wxs" src="src/frmTr.cpp" hdr="src/inc/frmTr.h" fwddecl="0" i18n="1" name="frmTr" language="CPP" />

User avatar
Can't get richer than this
Can't get richer than this
Posts: 867
Joined: Sun May 13, 2012 11:42 pm
Location: France

Re: wxSmith Couldn't Add New Handler

Postby eranon » Wed May 16, 2018 8:58 pm

Hello, The wxSmith plugin is maintained by the Code::Blocks team. So, the best place for help is there: http://forums.codeblocks.org/
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]

Return to “Compiler / Linking / IDE Related”

Who is online

Users browsing this forum: Baidu [Spider] and 4 guests