[ wxwindows-Patches-1569904 ] wxUSE_* in include/xrc and src/xrc

SourceForge.net noreply at sourceforge.net
Tue Oct 3 04:33:06 PDT 2006


Patches item #1569904, was opened at 2006-10-03 11:33
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=1569904&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_* in include/xrc and src/xrc

Initial Comment:
This patch fixes several problems around the XRC
handlers, which occur if the user decides to set a
wxUSE_control to 0.

Additionally, I unified the inclusion of defs.h (by
removing it alltogether) and the indenting of the
headers in include/xrc/xh_*.h. 
Defs.h is already included within xmlres.h, and
xmlres.h is included by every handler. So there was no
need for it.
I removed header file inclusion from some of the
handlers and replaced them by forward declarations.
I fixed a few #ifndef/#define combinations.

So basicly this is a header cleanup patch with some
bugfixes.

The below patch file is big but very trivial. Due to
the nature of the patch, it would be best if applied
early - before people continue copy/pasting old stuff.

This Patch makes [ 1557821 ] obsolete.

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

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




More information about the wx-dev mailing list