Making all in wxSmith
Making all in properties
make[5]: Nothing to be done for `all'.
Making all in wxwidgets
Making all in defitems
make[6]: Nothing to be done for `all'.
Making all in icons
make[6]: Nothing to be done for `all'.
Making all in properties
make[6]: Nothing to be done for `all'.
make[6]: Nothing to be done for `all-am'.
if /bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/opt/local/lib/wx/include/mac-unicode-release-2.6 -I/opt/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../src/include -I../../../../src/include/wxFlatNotebook/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/propgrid/include -O2 -ffast-math -I/opt/local/include -g -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT wxsresourcetree.lo -MD -MP -MF ".deps/wxsresourcetree.Tpo" -c -o wxsresourcetree.lo `test -f './wxsresourcetree.cpp' || echo './'`./wxsresourcetree.cpp; \
then mv -f ".deps/wxsresourcetree.Tpo" ".deps/wxsresourcetree.Plo"; else rm -f ".deps/wxsresourcetree.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/opt/local/lib/wx/include/mac-unicode-release-2.6 -I/opt/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../src/include -I../../../../src/include/wxFlatNotebook/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/propgrid/include -O2 -ffast-math -I/opt/local/include -g -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT wxsresourcetree.lo -MD -MP -MF .deps/wxsresourcetree.Tpo -c ./wxsresourcetree.cpp -fno-common -DPIC -o .libs/wxsresourcetree.o
./wxsresourcetree.cpp: In static member function 'static wxImageList& wxsResourceTree::GetGlobalImageList()':
./wxsresourcetree.cpp:116: error: invalid use of undefined type 'struct wxImage'
/opt/local/include/wx-2.6/wx/bitmap.h:31: error: forward declaration of 'struct wxImage'
make[5]: *** [wxsresourcetree.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
./wxsresourcetree.cpp:116: error: invalid use of undefined type 'struct wxImage'
/opt/local/include/wx-2.6/wx/bitmap.h:31: error: forward declaration of 'struct wxImage'
Odd that we need tweaking the wxWidgets itself to build CB?
Quote./wxsresourcetree.cpp:116: error: invalid use of undefined type 'struct wxImage'
/opt/local/include/wx-2.6/wx/bitmap.h:31: error: forward declaration of 'struct wxImage'
Add #include "wx/image.h"
Here is a crash report from when trying to remove an object:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x000000bf
Thread 0 Crashed:
0 libwxsmith.so 0x1637d1b4 wxsItem::ClearSelection() + 20 (wxsitem.cpp:241)
1 libwxsmith.so 0x1638fca8 wxsItemResData::SelectItem(wxsItem*, bool) + 56 (wxsitemresdata.h:218)
2 libwxsmith.so 0x16312d88 wxsResourceTree::OnSelect(wxTreeEvent&) + 56 (wxsresourcetree.cpp:103)
3 libwx_macu-2.6.0.dylib 0x080244c8 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 200
4 libwx_macu-2.6.0.dylib 0x08024788 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 168
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x0000004c
Thread 0 Crashed:
0 libwxsmith.so 0x081ad268 wxsItemResData::SelectItem(wxsItem*, bool) + 40
1 libwxsmith.so 0x08130354 wxsResourceTree::OnSelect(wxTreeEvent&) + 68
2 libwx_macu-2.6.0.dylib 0x016244c8 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 200
3 libwx_macu-2.6.0.dylib 0x01624788 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 168
4 libwx_macu-2.6.0.dylib 0x01624f14 wxEvtHandler::ProcessEvent(wxEvent&) + 212
5 libwx_macu-2.6.0.dylib 0x01624f44 wxEvtHandler::ProcessEvent(wxEvent&) + 260
6 libwx_macu-2.6.0.dylib 0x01777968 wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) + 56
Exception: EXC_BAD_ACCESS (0x0001)Hehe... I could imagine where it is happening... look at this line:
0 libwxsmith.so 0x081ad268 wxsItemResData::SelectItem(wxsItem*, bool) + 40
for ( wxsParent* Parent = Item->GetParent(); Parent; Child = Parent, Parent = Parent->GetParent() )
I am using Edit/Cut to remove the object. Is this correct?
Exception: EXC_BAD_ACCESS (0x0001)Hehe... I could imagine where it is happening... look at this line:
0 libwxsmith.so 0x081ad268 wxsItemResData::SelectItem(wxsItem*, bool) + 40CodeThere Item might still be NULL -> it's verified everywhere in this method but here... but better let byo decide... ;-)for ( wxsParent* Parent = Item->GetParent(); Parent; Child = Parent, Parent = Parent->GetParent() )
With regards, Morten.
if ( !Item )
{
Item = m_RootItem;
}
Should be no problem since there'sOoops... sorry - I have been blind. :oops:Codeif ( !Item )
{
Item = m_RootItem;
}
Oh, I thought you used delete button on the right side of editor.Ok, I missed that. I will use this from now on.
QuoteOh, I thought you used delete button on the right side of editor.Ok, I missed that. I will use this from now on.
Any idea how to fix the erased layout display on the Mac?
It is a bit difficult to work whithout seeing anything.
Tell me where and what to test, an I'll try it.
Have you changed properties in property window or in QuickProperties panel (the one that can be shown using Q buttin on the right).This is probably not working, it only opens a thin area to the right, maybe 10 pixels wide, no content. Soe there is nothing I can test here. I am using the property window to the left.
Is there any other way to make things visible? What will happen when you resize editor's area?If I hold the left button down with the pointer in the content window, I see the layout, and the selected object handles are moving with it.