June 29th, 2006 No Comments »
A few days before the 0.7α3 feature freeze, I managed to get the search field working on OS X by turning on “native toolbar” support in wx. However, there were a number of negative side-effects, and it was decided that search wasn’t a priority for this release, so I thought it would be a good idea to turn the toolbar back to the way it was.
It shouldn’t have been too difficult. There are two places that define the required #define, and I changed both of them. However, the toolbar remained as it was. Ack!
I have spent the days since then attempting to build a wx that restores the old toolbar. And so far, with no success!
The specific files involved are:
include/wx/mac/setup0.h and
include/wx/mac/carbon/chkconf.h.
These files contain a
#define for
wxMAC_USE_NATIVE_TOOLBAR.
To restore the old toolbar, all I need do is set this to zero.
However, I have been unable to accomplish this in builds on my Mac.
I have ripped apart, blown-away-and-re-checked-out everything to no avail.
At this point I wonder if it’s best to just edit the code, check it in, and hope that the official build gets it working?
Update [2006-06-29-1037]:
There is another
#define called
wxUSE_TOOLBAR_NATIVE, but it isn’t used for anything in the Mac code at all. It’s weird. I think that perhaps the creation of
wxMAC_USE_NATIVE_TOOLBAR was a mistake, and
wxUSE_TOOLBAR_NATIVE should have been used instead. Oh well.
June 19th, 2006 No Comments »
Version 0.7α2 was released a little while ago, and to address an important timeout issue, a patched version was released a few days ago:
| From: | sheila@osaf |
| Subject: | New version of Chandler 0.7Alpha2 milestone |
| Date: | Fri Jun 16, 2006 20:53:05 EDT (CA) |
We have released a patched version of our latest milestone, Chandler 0.7Alpha2, in order to address a timeout issue that some of our users are experiencing when sharing and synching large calendars on Cosmo Demo. We are still working on determining the root cause of this problem but in the meantime have increased the timeout threshold to enable people to continue dogfooding the app. You can download the the new version at…
downloads.osafoundation.org/chandler/milestones
Sheila
So go get yours now!
June 17th, 2006 No Comments »
I got these errors when I tried to build wx tonight:
./bk-deps g++ -c -o monodll_colheader.o -I.pch/wxprec_monodll -D__WXMAC__ -I../src/tiff -I../src/jpeg -I../src/png -I../src/regex -I../src/expat/lib -DwxUSE_BASE=1 -DWXMAKINGDLL -dynamic -fPIC -DPIC -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Ilib/wx/include/mac-unicode-release-2.7 -I../include -fpascal-strings -I../src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -fno-common ../src/generic/colheader.cpp
../src/generic/colheader.cpp: In member function ‘void wxChandlerGridLabelWindow::OnMouseEvent(wxMouseEvent&)’:
../src/generic/colheader.cpp:225: error: ‘m_StyleVariant’ was not declared in this scope
../src/generic/colheader.cpp: In constructor ‘wxColumnHeader::wxColumnHeader(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&)’:
../src/generic/colheader.cpp:444: error: ‘m_StyleVariant’ was not declared in this scope
../src/generic/colheader.cpp: In member function ‘void wxColumnHeader::Init()’:
../src/generic/colheader.cpp:475: error: ‘m_StyleVariant’ was not declared in this scope
../src/generic/colheader.cpp: In member function ‘bool wxColumnHeader::Create(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&)’:
../src/generic/colheader.cpp:528: error: ‘CalculateDefaultItemSizeInWindow’ is not a member of ‘wxColumnHeader’
../src/generic/colheader.cpp: At global scope:
../src/generic/colheader.cpp:918: error: no ‘wxSize wxColumnHeader::CalculateDefaultItemSizeInWindow(const wxSize&, bool&) const’ member function declared in class ‘wxColumnHeader’
make[1]: *** [monodll_colheader.o] Error 1
make: *** [wxWidgets] Error 2
At a guess it looks like a header file wasn’t checked in or something.
June 2nd, 2006 2 Comments »
Below are the steps I sussed out in the waning days of 0.7alpha2 for building wx from scratch, assuming a fresh checkout.
I put in lines between directory changes.
cd chandler
svn update
cd chandler
make install; make DEBUG=1 install
cd ../external
make compilers; make world; make DEBUG=1 world
make to-python (Note: can ln -s ../chandler/release . instead)
cd swig
make
cd ../../internal/wx
make build; make drop
This is likely overkill since you won’t always want release and debug versions of everything,
but I find it handy to have around.