[packages/wxWidgets] - added gtk3 patch, allow to build wxGTK3 - handle sdl bcond

Jakub Bogusz qboosh at pld-linux.org
Tue Jan 21 21:40:55 CET 2014


On Tue, Jan 21, 2014 at 08:34:22AM +0100, Arkadiusz Miśkiewicz wrote:
> On Monday 20 of January 2014, qboosh wrote:
> > commit d8ba414b6798df934319652e08832c200d312a48
> > Author: Jakub Bogusz <qboosh at pld-linux.org>
> > Date:   Mon Jan 20 21:38:08 2014 +0100
> > 
> >     - added gtk3 patch, allow to build wxGTK3
> >     - handle sdl bcond
> 
> Is wxGTK3 API different from wxGTK2 API?

As I can see, there are some differences:

$ grep WXGTK3 -r  ../BUILD/wxWidgets-3.0.0/include/wx/
../BUILD/wxWidgets-3.0.0/include/wx/aui/tabart.h:    #if defined(__WXGTK20__) && !defined(__WXGTK3__)
../BUILD/wxWidgets-3.0.0/include/wx/defs.h:#if !defined(__WXGTK3__)
../BUILD/wxWidgets-3.0.0/include/wx/defs.h:#if defined(__WXGTK3__)
../BUILD/wxWidgets-3.0.0/include/wx/gtk/chkconf.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/bitmap.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/bitmap.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/bitmap.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/bitmap.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/bitmap.h:#ifndef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/bitmap.h:#ifndef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/region.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/region.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/control.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/colour.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/colour.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/colour.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/setup.h://#define __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/window.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/window.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/window.h:#ifndef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/window.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/dvrenderers.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/glcanvas.h:#ifdef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/private/textmeasure.h:#ifndef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/private/gtk2-compat.h:#ifndef __WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/private/gtk2-compat.h:#endif // !__WXGTK3__
../BUILD/wxWidgets-3.0.0/include/wx/gtk/dc.h:#ifdef __WXGTK3__

and wxGTK2 is considered more mature (that's why it's still the default
version of wxGTK).


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list