mod.wxtreelistctrl
BlitzMax Forums/Brucey's Modules/mod.wxtreelistctrl
| ||
src/treelistctrl.cpp C:/BlitzMax/mod/wx.mod/wxtreelistctrl.mod/src/treelistctrl.cpp: In member functi on 'virtual bool wxEditTextCtrl::Destroy()': C:/BlitzMax/mod/wx.mod/wxtreelistctrl.mod/src/treelistctrl.cpp:1020: error: 'wxT heApp' was not declared in this scope Build Error: failed to compile (1) C:/BlitzMax/mod/wx.mod/wxtreelistctrl.mod/src /treelistctrl.cpp Build Error: failed to compile (1) C:/BlitzMax/mod/wx.mod/wxtreelistctrl.mod/src /treelistctrl.cpp ON line 1018 in that file this is the function bool wxEditTextCtrl::Destroy() { Hide(); wxTheApp->GetTraits()->ScheduleForDestroy(this); return true; } shouldn't wxTheApp be m_owner ? |
| ||
It should be fixed now in the latest SVN... I had to add an extra #include for Win32. |
| ||
roger.. Will download. |
| ||
still fails |
| ||
You may need to rebuild that particular module : from the bin folder... bmk makemods -a wx.wxtreelistctrl Changes to header files are not always detected by the BlitzMax build-system. |
| ||
Example of having updated to the latest SVN on my Mac, which modifies the header :Bruceys-Mac-Mini:bin brucey$ ./bmk makemods wx.wxtreelistctrl Bruceys-Mac-Mini:bin brucey$ ./bmk makemods -a wx.wxtreelistctrl Compiling:treelistctrl.cpp Compiling:glue.cpp Compiling:common.bmx Compiling:wxtreelistctrl.bmx Archiving:wxtreelistctrl.debug.macos.x86.a Note, the first time, nothing happens. It doesn't see the change. I have to specify rebuild (-a) to get it to recompile the cpp. |
| ||
I did that.. I saw the update on the SVN, but I checked the two files and didn't see any changes between before and after. didn't find an extra win32 include. |
| ||
lol.. crap. I forgot to export the h file. I exported the cpp from the SVN.. |