[ wxwindows-Patches-1557821 ] wxUSE_SPLITTER in setup.h leading to compile and link errors

SourceForge.net noreply at sourceforge.net
Wed Sep 13 04:27:49 PDT 2006


Patches item #1557821, was opened at 2006-09-13 11:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1557821&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: XML resources
Group: bug fix
Status: Open
Resolution: None
Priority: 5
Submitted By: nusi (nusi)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxUSE_SPLITTER in setup.h leading to compile and link errors

Initial Comment:
Defining wxUSE_SPLITTER to 0 in setup.h leads to errors
in xrc/xml handling.
This is, because this flag isn't really used within the
code.
This simple patch resolves this (attached as file, too).

Index: src/xrc/xh_split.cpp
===================================================================
RCS file:
/pack/cvsroots/wxwidgets/wxWidgets/src/xrc/xh_split.cpp,v
retrieving revision 1.11
diff -r1.11 xh_split.cpp
21a22,23
> #if wxUSE_SPLITTER
> 
108a111,112
> 
> #endif // wxUSE_SPLITTER
Index: src/xrc/xmlrsall.cpp
===================================================================
RCS file:
/pack/cvsroots/wxwidgets/wxWidgets/src/xrc/xmlrsall.cpp,v
retrieving revision 1.27
diff -r1.27 xmlrsall.cpp
110a111
> #if wxUSE_SPLITTER
111a113
> #endif
Index: include/wx/xrc/xh_split.h
===================================================================
RCS file:
/pack/cvsroots/wxwidgets/wxWidgets/include/wx/xrc/xh_split.h,v
retrieving revision 1.6
diff -r1.6 xh_split.h
15a16
> #if wxUSE_SPLITTER
23a25
> #endif // wxUSE_SPLITTER


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1557821&group_id=9863




More information about the wx-dev mailing list