[wx-dev] Re: wxCalendarCtrl changes
Tim Stahlhut
stahta01 at verizon.net
Tue Apr 1 12:50:55 PDT 2008
Robin Dunn wrote:
> Robin Dunn wrote:
>> I just updated the wxPython wrappers for the recent wxCalendarCtrl
>> changes and found that I had to #ifdef out almost all of the methods for
>> wxGTK. Making minor API changes in a development branch, but we usually
>
> Sorry, I guess I'm more tired than I thought. I meant to say that
> "Making API changes in a development branch is expected, but..."
>
>
>> try to make it at least compile-compatible. Do we really want to make
>> this big of a change if the native widget is so different? I guess I
>> could just force the use of the generic control instead in order to not
>> break things for wxPython users.
>
>
The changes broke the sample under windows using MinGW GCC.
Tim S
mingw32-make[1]: Entering directory `F:/SourceCode/Projects/wxWidgets/wxWidgets-2.9.x/samples/calendar'
g++ -c -o gcc_mswu_multi_26\calendar_calendar.o -O2 -mthreads -DHAVE_W32API_H -D__WXMSW__ -D_UNICODE -I.\..\..\lib\gcc_lib_multi_26\mswu -I.\..\..\include -W -Wall -I. -I.\..\..\samples -DNOPCH -Wno-ctor-dtor-privacy -fno-strict-aliasing -MTgcc_mswu_multi_26\calendar_calendar.o -MFgcc_mswu_multi_26\calendar_calendar.o.d -MD calendar.cpp
calendar.cpp: In member function 'void MyFrame::OnCalHolidays(wxCommandEvent&)':
calendar.cpp:458: error: 'class wxCalendarCtrlBase' has no member named 'EnableHolidayDisplay'
mingw32-make[1]: *** [gcc_mswu_multi_26\calendar_calendar.o] Error 1
mingw32-make[1]: Leaving directory `F:/SourceCode/Projects/wxWidgets/wxWidgets-2.9.x/samples/calendar'
mingw32-make: *** [calendar] Error 2
More information about the wx-dev
mailing list