mod.wxtreelistctrl

BlitzMax Forums/Brucey's Modules/mod.wxtreelistctrl

VicToMeyeZR(Posted 2010) [#1]
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 ?


Brucey(Posted 2010) [#2]
It should be fixed now in the latest SVN... I had to add an extra #include for Win32.


VicToMeyeZR(Posted 2010) [#3]
roger.. Will download.


VicToMeyeZR(Posted 2010) [#4]
still fails


Brucey(Posted 2010) [#5]
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.


Brucey(Posted 2010) [#6]
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.


VicToMeyeZR(Posted 2010) [#7]
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.


VicToMeyeZR(Posted 2010) [#8]
lol.. crap. I forgot to export the h file. I exported the cpp from the SVN..