[wx-dev] wxMac 2.8 SVN compile error
Robin Dunn
robin at alldunn.com
Mon Jun 2 12:14:36 PDT 2008
Julian Smart wrote:
> Compiled with core graphics = 0, latest 2.8 SVN:
>
> /Users/juliansm/wx28/wxWidgets/mac/bk-deps g++ -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -c -o corelib_dcscreen.o
> -D__WXMAC__ -I../src/tiff -I../src/jpeg -I../src/png
> -I../src/regex -I../src/expat/lib -DwxUSE_BASE=0 -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES
> -I/Users/juliansm/wx28/wxWidgets/mac/lib/wx/include/mac-unicode-release-static-2.8
> -I../include -fpascal-strings -I../src/mac/carbon/morefilex
> -I/Developer/Headers/FlatCarbon -Wall -Wundef -Wno-ctor-dtor-privacy -O2
> -fno-strict-aliasing -arch ppc -arch i386 -fno-common
> ../src/mac/carbon/dcscreen.cpp
> ../src/mac/carbon/dcscreen.cpp: In member function 'virtual wxBitmap
> wxScreenDC::DoGetAsBitmap(const wxRect*) const':
> ../src/mac/carbon/dcscreen.cpp:82: error: 'm_width' was not declared in
> this scope
> ../src/mac/carbon/dcscreen.cpp:82: error: 'm_height' was not declared in
> this scope
You probably have wxMAC_USE_CORE_GRAPHICS turned off.
Kevin, looks like wxScreenDC::DoGetAsBitmap needs to check for
wxMAC_USE_CORE_GRAPHICS.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-dev
mailing list