fix for gccxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,6 +17,10 @@
|
|||||||
#if wxUSE_AUI
|
#if wxUSE_AUI
|
||||||
|
|
||||||
#include "wx/control.h"
|
#include "wx/control.h"
|
||||||
|
#include "wx/sizer.h"
|
||||||
|
#include "wx/pen.h"
|
||||||
|
|
||||||
|
//class WXDLLIMPEXP_FWD_CORE wxSizerItem;
|
||||||
|
|
||||||
enum wxAuiToolBarStyle
|
enum wxAuiToolBarStyle
|
||||||
{
|
{
|
||||||
|
@@ -44,6 +44,7 @@ headerlist=`$listcmd | grep -v wxshl | grep -v wx_cw | grep -v setup | grep -v x
|
|||||||
cd $current # return to the original path
|
cd $current # return to the original path
|
||||||
|
|
||||||
# create the header file to pass to gccxml
|
# create the header file to pass to gccxml
|
||||||
|
echo "Creating the $allheaders dummy file which #includes all wxWidgets interface header files..."
|
||||||
if [[ -f $allheaders ]]; then rm $allheaders; fi
|
if [[ -f $allheaders ]]; then rm $allheaders; fi
|
||||||
for f in $headerlist; do
|
for f in $headerlist; do
|
||||||
echo "#include <$f>" >> $allheaders
|
echo "#include <$f>" >> $allheaders
|
||||||
@@ -64,6 +65,10 @@ flags="-I . -I @top_srcdir@/include $flags -D__WXDEBUG__ -D__WX@TOOLKIT@__ -DWXB
|
|||||||
echo "Running gccxml on the $allheaders file... results in $gccxmloutput"
|
echo "Running gccxml on the $allheaders file... results in $gccxmloutput"
|
||||||
if [[ -f "$gccxmloutput" ]]; then rm $gccxmloutput; fi
|
if [[ -f "$gccxmloutput" ]]; then rm $gccxmloutput; fi
|
||||||
gccxml $flags -fxml=$gccxmloutput
|
gccxml $flags -fxml=$gccxmloutput
|
||||||
|
if [[ $? != 0 ]]; then
|
||||||
|
echo "Errors running gccxml... aborting."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
# now get the list of the #defined values for wx headers, so that the result
|
# now get the list of the #defined values for wx headers, so that the result
|
||||||
# can be passed to ifacecheck to aid the comparison
|
# can be passed to ifacecheck to aid the comparison
|
||||||
|
Reference in New Issue
Block a user