Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
wxFlatNotebook 2.2
SharkCZ:
--- Quote from: stahta01 on July 30, 2007, 03:18:10 am ---Since wxFlatNotebook 2.2 requires wxWidgets 2.8, have we dropped support for using 2.6 to build C::B?
I wish to verify before updating some patches.
--- End quote ---
It looks like that wxFlatNotebook can be compiled on wxGTK 2.6 when you change the Contains(wxPoint) method of wxRect back to Inside(wxPoint) - 6 occurences in wxFlatNotebook.cpp
SharkCZ:
--- Quote from: Der Meister on July 31, 2007, 08:26:08 pm ---In wxWidgets 2.8 the wxRect class got an additional member-function: wxRect::Contains. wxFNB 2.2 uses this function and therefore does not build with wxWidgets 2.6 anymore.
--- End quote ---
Contains() from wx2.8 == Inside() from wx2.6, there is an compatibility #define in the code of wx2.8 (gdicmn.h)
killerbot:
--- Quote from: SharkCZ on July 31, 2007, 08:28:36 pm ---
--- Quote from: Der Meister on July 31, 2007, 08:26:08 pm ---In wxWidgets 2.8 the wxRect class got an additional member-function: wxRect::Contains. wxFNB 2.2 uses this function and therefore does not build with wxWidgets 2.6 anymore.
--- End quote ---
Contains() from wx2.8 == Inside() from wx2.6, there is an compatibility #define in the code of wx2.8 (gdicmn.h)
--- End quote ---
meaning it should build on wx26 ?
SharkCZ:
--- Quote from: killerbot on July 31, 2007, 08:44:18 pm ---
--- Quote from: SharkCZ on July 31, 2007, 08:28:36 pm ---
--- Quote from: Der Meister on July 31, 2007, 08:26:08 pm ---In wxWidgets 2.8 the wxRect class got an additional member-function: wxRect::Contains. wxFNB 2.2 uses this function and therefore does not build with wxWidgets 2.6 anymore.
--- End quote ---
Contains() from wx2.8 == Inside() from wx2.6, there is an compatibility #define in the code of wx2.8 (gdicmn.h)
--- End quote ---
meaning it should build on wx26 ?
--- End quote ---
Sure, I have just built it.
killerbot:
so although we do not support wx26x (officially anymore : more or less) : it still works ;-)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version