diff --git a/contrib/configure b/contrib/configure index d5805d8ee4..5f5ab2decd 100755 --- a/contrib/configure +++ b/contrib/configure @@ -817,7 +817,7 @@ trap 'rm -fr `echo " src/ogl/Makefile src/mmedia/Makefile src/stc/Makefile - src/xml/Makefile + src/xrc/Makefile src/canvas/Makefile src/gizmos/Makefile src/plot/Makefile @@ -834,7 +834,8 @@ trap 'rm -fr `echo " samples/gizmos/Makefile samples/gizmos/multicell/Makefile samples/gizmos/splittree/Makefile - samples/xml/Makefile + samples/gizmos/editlbox/Makefile + samples/xrc/Makefile samples/plot/Makefile samples/applet/Makefile utils/Makefile @@ -924,7 +925,7 @@ CONFIG_FILES=\${CONFIG_FILES-"Makefile src/ogl/Makefile src/mmedia/Makefile src/stc/Makefile - src/xml/Makefile + src/xrc/Makefile src/canvas/Makefile src/gizmos/Makefile src/plot/Makefile @@ -941,7 +942,8 @@ CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/gizmos/Makefile samples/gizmos/multicell/Makefile samples/gizmos/splittree/Makefile - samples/xml/Makefile + samples/gizmos/editlbox/Makefile + samples/xrc/Makefile samples/plot/Makefile samples/applet/Makefile utils/Makefile diff --git a/contrib/configure.in b/contrib/configure.in index c6399802e2..bf39a34e41 100644 --- a/contrib/configure.in +++ b/contrib/configure.in @@ -42,7 +42,7 @@ AC_OUTPUT([ src/ogl/Makefile src/mmedia/Makefile src/stc/Makefile - src/xml/Makefile + src/xrc/Makefile src/canvas/Makefile src/gizmos/Makefile src/plot/Makefile @@ -59,7 +59,8 @@ AC_OUTPUT([ samples/gizmos/Makefile samples/gizmos/multicell/Makefile samples/gizmos/splittree/Makefile - samples/xml/Makefile + samples/gizmos/editlbox/Makefile + samples/xrc/Makefile samples/plot/Makefile samples/applet/Makefile utils/Makefile diff --git a/contrib/include/wx/xml/xh_all.h b/contrib/include/wx/xml/xh_all.h deleted file mode 100644 index a659665bd9..0000000000 --- a/contrib/include/wx/xml/xh_all.h +++ /dev/null @@ -1,49 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: xh_all.h -// Purpose: includes all xh_*.h files -// Author: Vaclav Slavik -// Created: 2000/03/05 -// RCS-ID: $Id$ -// Copyright: (c) 2000 Vaclav Slavik -// Licence: wxWindows licence -///////////////////////////////////////////////////////////////////////////// - -#ifndef _WX_XH_ALL_H_ -#define _WX_XH_ALL_H_ - - -// Existing handlers: - -#include "wx/xml/xh_menu.h" -#include "wx/xml/xh_panel.h" -#include "wx/xml/xh_dlg.h" -#include "wx/xml/xh_bttn.h" -#include "wx/xml/xh_chckb.h" -#include "wx/xml/xh_gauge.h" -#include "wx/xml/xh_html.h" -#include "wx/xml/xh_spin.h" -#include "wx/xml/xh_sttxt.h" -#include "wx/xml/xh_slidr.h" -#include "wx/xml/xh_radbt.h" -#include "wx/xml/xh_radbx.h" -#include "wx/xml/xh_combo.h" -#include "wx/xml/xh_chckl.h" -#include "wx/xml/xh_choic.h" -#include "wx/xml/xh_sizer.h" -#include "wx/xml/xh_stbmp.h" -#include "wx/xml/xh_notbk.h" -#include "wx/xml/xh_text.h" -#include "wx/xml/xh_listb.h" -#include "wx/xml/xh_toolb.h" -#include "wx/xml/xh_bmpbt.h" -#include "wx/xml/xh_stbox.h" -#include "wx/xml/xh_scrol.h" -#include "wx/xml/xh_tree.h" -#include "wx/xml/xh_cald.h" -#include "wx/xml/xh_listc.h" -#include "wx/xml/xh_stlin.h" -#include "wx/xml/xh_bmp.h" -#include "wx/xml/xh_unkwn.h" -#include "wx/xml/xh_frame.h" - -#endif // _WX_XMLRES_H_ diff --git a/contrib/include/wx/xrc/xh_all.h b/contrib/include/wx/xrc/xh_all.h new file mode 100644 index 0000000000..3abb40c2c6 --- /dev/null +++ b/contrib/include/wx/xrc/xh_all.h @@ -0,0 +1,49 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: xh_all.h +// Purpose: includes all xh_*.h files +// Author: Vaclav Slavik +// Created: 2000/03/05 +// RCS-ID: $Id$ +// Copyright: (c) 2000 Vaclav Slavik +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_XH_ALL_H_ +#define _WX_XH_ALL_H_ + + +// Existing handlers: + +#include "wx/xrc/xh_menu.h" +#include "wx/xrc/xh_panel.h" +#include "wx/xrc/xh_dlg.h" +#include "wx/xrc/xh_bttn.h" +#include "wx/xrc/xh_chckb.h" +#include "wx/xrc/xh_gauge.h" +#include "wx/xrc/xh_html.h" +#include "wx/xrc/xh_spin.h" +#include "wx/xrc/xh_sttxt.h" +#include "wx/xrc/xh_slidr.h" +#include "wx/xrc/xh_radbt.h" +#include "wx/xrc/xh_radbx.h" +#include "wx/xrc/xh_combo.h" +#include "wx/xrc/xh_chckl.h" +#include "wx/xrc/xh_choic.h" +#include "wx/xrc/xh_sizer.h" +#include "wx/xrc/xh_stbmp.h" +#include "wx/xrc/xh_notbk.h" +#include "wx/xrc/xh_text.h" +#include "wx/xrc/xh_listb.h" +#include "wx/xrc/xh_toolb.h" +#include "wx/xrc/xh_bmpbt.h" +#include "wx/xrc/xh_stbox.h" +#include "wx/xrc/xh_scrol.h" +#include "wx/xrc/xh_tree.h" +#include "wx/xrc/xh_cald.h" +#include "wx/xrc/xh_listc.h" +#include "wx/xrc/xh_stlin.h" +#include "wx/xrc/xh_bmp.h" +#include "wx/xrc/xh_unkwn.h" +#include "wx/xrc/xh_frame.h" + +#endif // _WX_XMLRES_H_ diff --git a/contrib/include/wx/xml/xh_bmp.h b/contrib/include/wx/xrc/xh_bmp.h similarity index 97% rename from contrib/include/wx/xml/xh_bmp.h rename to contrib/include/wx/xrc/xh_bmp.h index 91a4d0280e..9867f1041a 100644 --- a/contrib/include/wx/xml/xh_bmp.h +++ b/contrib/include/wx/xrc/xh_bmp.h @@ -15,7 +15,7 @@ #pragma interface "xh_bmp.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxBitmapXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xml/xh_bmpbt.h b/contrib/include/wx/xrc/xh_bmpbt.h similarity index 96% rename from contrib/include/wx/xml/xh_bmpbt.h rename to contrib/include/wx/xrc/xh_bmpbt.h index 5da3190191..7927585a2d 100644 --- a/contrib/include/wx/xml/xh_bmpbt.h +++ b/contrib/include/wx/xrc/xh_bmpbt.h @@ -15,7 +15,7 @@ #pragma interface "xh_bmpbt.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxBitmapButtonXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xml/xh_bttn.h b/contrib/include/wx/xrc/xh_bttn.h similarity index 96% rename from contrib/include/wx/xml/xh_bttn.h rename to contrib/include/wx/xrc/xh_bttn.h index 5e5df78b69..c6c89c34a1 100644 --- a/contrib/include/wx/xml/xh_bttn.h +++ b/contrib/include/wx/xrc/xh_bttn.h @@ -15,7 +15,7 @@ #pragma interface "xh_bttn.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxButtonXmlHandler : public wxXmlResourceHandler { diff --git a/contrib/include/wx/xml/xh_cald.h b/contrib/include/wx/xrc/xh_cald.h similarity index 96% rename from contrib/include/wx/xml/xh_cald.h rename to contrib/include/wx/xrc/xh_cald.h index 60b7f618f0..51d0cdab9f 100644 --- a/contrib/include/wx/xml/xh_cald.h +++ b/contrib/include/wx/xrc/xh_cald.h @@ -15,7 +15,7 @@ #pragma interface "xh_cald.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxCalendarCtrlXmlHandler : public wxXmlResourceHandler { diff --git a/contrib/include/wx/xml/xh_chckb.h b/contrib/include/wx/xrc/xh_chckb.h similarity index 96% rename from contrib/include/wx/xml/xh_chckb.h rename to contrib/include/wx/xrc/xh_chckb.h index e28f3502b3..07794b7eb0 100644 --- a/contrib/include/wx/xml/xh_chckb.h +++ b/contrib/include/wx/xrc/xh_chckb.h @@ -15,7 +15,7 @@ #pragma interface "xh_chckb.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #include "wx/defs.h" #if wxUSE_CHECKBOX diff --git a/contrib/include/wx/xml/xh_chckl.h b/contrib/include/wx/xrc/xh_chckl.h similarity index 96% rename from contrib/include/wx/xml/xh_chckl.h rename to contrib/include/wx/xrc/xh_chckl.h index 9c42fa20be..30247ccf87 100644 --- a/contrib/include/wx/xml/xh_chckl.h +++ b/contrib/include/wx/xrc/xh_chckl.h @@ -15,7 +15,7 @@ #pragma interface "xh_chckl.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxCheckListXmlHandler : public wxXmlResourceHandler { diff --git a/contrib/include/wx/xml/xh_choic.h b/contrib/include/wx/xrc/xh_choic.h similarity index 96% rename from contrib/include/wx/xml/xh_choic.h rename to contrib/include/wx/xrc/xh_choic.h index 16a2e1a428..d2387781c5 100644 --- a/contrib/include/wx/xml/xh_choic.h +++ b/contrib/include/wx/xrc/xh_choic.h @@ -15,7 +15,7 @@ #pragma interface "xh_choic.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxChoiceXmlHandler : public wxXmlResourceHandler { diff --git a/contrib/include/wx/xml/xh_combo.h b/contrib/include/wx/xrc/xh_combo.h similarity index 96% rename from contrib/include/wx/xml/xh_combo.h rename to contrib/include/wx/xrc/xh_combo.h index 2c5dc402e2..2128d953b5 100644 --- a/contrib/include/wx/xml/xh_combo.h +++ b/contrib/include/wx/xrc/xh_combo.h @@ -15,7 +15,7 @@ #pragma interface "xh_combo.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #if wxUSE_COMBOBOX diff --git a/contrib/include/wx/xml/xh_dlg.h b/contrib/include/wx/xrc/xh_dlg.h similarity index 96% rename from contrib/include/wx/xml/xh_dlg.h rename to contrib/include/wx/xrc/xh_dlg.h index 135e126eb0..3fd4d51076 100644 --- a/contrib/include/wx/xml/xh_dlg.h +++ b/contrib/include/wx/xrc/xh_dlg.h @@ -15,7 +15,7 @@ #pragma interface "xh_dlg.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxDialogXmlHandler : public wxXmlResourceHandler { diff --git a/contrib/include/wx/xml/xh_frame.h b/contrib/include/wx/xrc/xh_frame.h similarity index 96% rename from contrib/include/wx/xml/xh_frame.h rename to contrib/include/wx/xrc/xh_frame.h index f5b3bb1bef..47e203114c 100644 --- a/contrib/include/wx/xml/xh_frame.h +++ b/contrib/include/wx/xrc/xh_frame.h @@ -15,7 +15,7 @@ #pragma interface "xh_frame.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxFrameXmlHandler : public wxXmlResourceHandler { diff --git a/contrib/include/wx/xml/xh_gauge.h b/contrib/include/wx/xrc/xh_gauge.h similarity index 96% rename from contrib/include/wx/xml/xh_gauge.h rename to contrib/include/wx/xrc/xh_gauge.h index 8dfcccf7db..9c2a94017d 100644 --- a/contrib/include/wx/xml/xh_gauge.h +++ b/contrib/include/wx/xrc/xh_gauge.h @@ -19,7 +19,7 @@ #if wxUSE_GAUGE -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxGaugeXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xml/xh_html.h b/contrib/include/wx/xrc/xh_html.h similarity index 96% rename from contrib/include/wx/xml/xh_html.h rename to contrib/include/wx/xrc/xh_html.h index cf1a0603ca..daaa93dcc7 100644 --- a/contrib/include/wx/xml/xh_html.h +++ b/contrib/include/wx/xrc/xh_html.h @@ -15,7 +15,7 @@ #pragma interface "xh_html.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/contrib/include/wx/xml/xh_listb.h b/contrib/include/wx/xrc/xh_listb.h similarity index 96% rename from contrib/include/wx/xml/xh_listb.h rename to contrib/include/wx/xrc/xh_listb.h index 5a7d8d24a2..c080442c8b 100644 --- a/contrib/include/wx/xml/xh_listb.h +++ b/contrib/include/wx/xrc/xh_listb.h @@ -15,7 +15,7 @@ #pragma interface "xh_listb.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #if wxUSE_LISTBOX diff --git a/contrib/include/wx/xml/xh_listc.h b/contrib/include/wx/xrc/xh_listc.h similarity index 96% rename from contrib/include/wx/xml/xh_listc.h rename to contrib/include/wx/xrc/xh_listc.h index 77d184a6e4..8bd27632b1 100644 --- a/contrib/include/wx/xml/xh_listc.h +++ b/contrib/include/wx/xrc/xh_listc.h @@ -15,7 +15,7 @@ #pragma interface "xh_listc.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxListCtrlXmlHandler : public wxXmlResourceHandler { diff --git a/contrib/include/wx/xml/xh_menu.h b/contrib/include/wx/xrc/xh_menu.h similarity index 97% rename from contrib/include/wx/xml/xh_menu.h rename to contrib/include/wx/xrc/xh_menu.h index 070e9b2de5..3ba54e86a6 100644 --- a/contrib/include/wx/xml/xh_menu.h +++ b/contrib/include/wx/xrc/xh_menu.h @@ -15,7 +15,7 @@ #pragma interface "xh_menu.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxMenuXmlHandler : public wxXmlResourceHandler { diff --git a/contrib/include/wx/xml/xh_notbk.h b/contrib/include/wx/xrc/xh_notbk.h similarity index 96% rename from contrib/include/wx/xml/xh_notbk.h rename to contrib/include/wx/xrc/xh_notbk.h index 5ee74d85fd..bd066d32d5 100644 --- a/contrib/include/wx/xml/xh_notbk.h +++ b/contrib/include/wx/xrc/xh_notbk.h @@ -14,7 +14,7 @@ #pragma interface "xh_notbk.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #if wxUSE_NOTEBOOK diff --git a/contrib/include/wx/xml/xh_panel.h b/contrib/include/wx/xrc/xh_panel.h similarity index 96% rename from contrib/include/wx/xml/xh_panel.h rename to contrib/include/wx/xrc/xh_panel.h index fd5afdc5c9..817e5ecc76 100644 --- a/contrib/include/wx/xml/xh_panel.h +++ b/contrib/include/wx/xrc/xh_panel.h @@ -15,7 +15,7 @@ #pragma interface "xh_panel.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxPanelXmlHandler : public wxXmlResourceHandler { diff --git a/contrib/include/wx/xml/xh_radbt.h b/contrib/include/wx/xrc/xh_radbt.h similarity index 96% rename from contrib/include/wx/xml/xh_radbt.h rename to contrib/include/wx/xrc/xh_radbt.h index 0658ff5f6f..98dc3c9758 100644 --- a/contrib/include/wx/xml/xh_radbt.h +++ b/contrib/include/wx/xrc/xh_radbt.h @@ -15,7 +15,7 @@ #pragma interface "xh_radbt.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #include "wx/defs.h" #if wxUSE_RADIOBOX diff --git a/contrib/include/wx/xml/xh_radbx.h b/contrib/include/wx/xrc/xh_radbx.h similarity index 96% rename from contrib/include/wx/xml/xh_radbx.h rename to contrib/include/wx/xrc/xh_radbx.h index 7343d39f66..4edfd8b905 100644 --- a/contrib/include/wx/xml/xh_radbx.h +++ b/contrib/include/wx/xrc/xh_radbx.h @@ -15,7 +15,7 @@ #pragma interface "xh_radbx.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #if wxUSE_RADIOBOX diff --git a/contrib/include/wx/xml/xh_scrol.h b/contrib/include/wx/xrc/xh_scrol.h similarity index 96% rename from contrib/include/wx/xml/xh_scrol.h rename to contrib/include/wx/xrc/xh_scrol.h index a190117556..d5a1f43788 100644 --- a/contrib/include/wx/xml/xh_scrol.h +++ b/contrib/include/wx/xrc/xh_scrol.h @@ -15,7 +15,7 @@ #pragma interface "xh_scrol.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/contrib/include/wx/xml/xh_sizer.h b/contrib/include/wx/xrc/xh_sizer.h similarity index 96% rename from contrib/include/wx/xml/xh_sizer.h rename to contrib/include/wx/xrc/xh_sizer.h index 7210672bb2..fb5cd23670 100644 --- a/contrib/include/wx/xml/xh_sizer.h +++ b/contrib/include/wx/xrc/xh_sizer.h @@ -15,7 +15,7 @@ #pragma interface "xh_sizer.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXDLLEXPORT wxSizer; diff --git a/contrib/include/wx/xml/xh_slidr.h b/contrib/include/wx/xrc/xh_slidr.h similarity index 97% rename from contrib/include/wx/xml/xh_slidr.h rename to contrib/include/wx/xrc/xh_slidr.h index 45be53ae66..32fb738b7b 100644 --- a/contrib/include/wx/xml/xh_slidr.h +++ b/contrib/include/wx/xrc/xh_slidr.h @@ -15,7 +15,7 @@ #pragma interface "xh_slidr.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #include "wx/defs.h" #if wxUSE_SLIDER diff --git a/contrib/include/wx/xml/xh_spin.h b/contrib/include/wx/xrc/xh_spin.h similarity index 97% rename from contrib/include/wx/xml/xh_spin.h rename to contrib/include/wx/xrc/xh_spin.h index 871a249f06..9d44a0ffe9 100644 --- a/contrib/include/wx/xml/xh_spin.h +++ b/contrib/include/wx/xrc/xh_spin.h @@ -15,7 +15,7 @@ #pragma interface "xh_spin.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #include "wx/defs.h" #if wxUSE_SPINBTN diff --git a/contrib/include/wx/xml/xh_stbmp.h b/contrib/include/wx/xrc/xh_stbmp.h similarity index 96% rename from contrib/include/wx/xml/xh_stbmp.h rename to contrib/include/wx/xrc/xh_stbmp.h index 1fa07a405e..34493cfc8e 100644 --- a/contrib/include/wx/xml/xh_stbmp.h +++ b/contrib/include/wx/xrc/xh_stbmp.h @@ -15,7 +15,7 @@ #pragma interface "xh_stbmp.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxStaticBitmapXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xml/xh_stbox.h b/contrib/include/wx/xrc/xh_stbox.h similarity index 96% rename from contrib/include/wx/xml/xh_stbox.h rename to contrib/include/wx/xrc/xh_stbox.h index f4055a2abf..509f3ae81c 100644 --- a/contrib/include/wx/xml/xh_stbox.h +++ b/contrib/include/wx/xrc/xh_stbox.h @@ -15,7 +15,7 @@ #pragma interface "xh_stbox.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxStaticBoxXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xml/xh_stlin.h b/contrib/include/wx/xrc/xh_stlin.h similarity index 96% rename from contrib/include/wx/xml/xh_stlin.h rename to contrib/include/wx/xrc/xh_stlin.h index cad1234c41..7f7d5d67e7 100644 --- a/contrib/include/wx/xml/xh_stlin.h +++ b/contrib/include/wx/xrc/xh_stlin.h @@ -15,7 +15,7 @@ #pragma interface "xh_stlin.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #if wxUSE_STATLINE diff --git a/contrib/include/wx/xml/xh_sttxt.h b/contrib/include/wx/xrc/xh_sttxt.h similarity index 96% rename from contrib/include/wx/xml/xh_sttxt.h rename to contrib/include/wx/xrc/xh_sttxt.h index 713f29d443..94683b82f9 100644 --- a/contrib/include/wx/xml/xh_sttxt.h +++ b/contrib/include/wx/xrc/xh_sttxt.h @@ -15,7 +15,7 @@ #pragma interface "xh_sttxt.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxStaticTextXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xml/xh_text.h b/contrib/include/wx/xrc/xh_text.h similarity index 96% rename from contrib/include/wx/xml/xh_text.h rename to contrib/include/wx/xrc/xh_text.h index db8bbb5b7c..6bd2b7d285 100644 --- a/contrib/include/wx/xml/xh_text.h +++ b/contrib/include/wx/xrc/xh_text.h @@ -15,7 +15,7 @@ #pragma interface "xh_text.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxTextCtrlXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xml/xh_toolb.h b/contrib/include/wx/xrc/xh_toolb.h similarity index 96% rename from contrib/include/wx/xml/xh_toolb.h rename to contrib/include/wx/xrc/xh_toolb.h index 426b58cc64..c149b77753 100644 --- a/contrib/include/wx/xml/xh_toolb.h +++ b/contrib/include/wx/xrc/xh_toolb.h @@ -15,7 +15,7 @@ #pragma interface "xh_toolb.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" #if wxUSE_TOOLBAR diff --git a/contrib/include/wx/xml/xh_tree.h b/contrib/include/wx/xrc/xh_tree.h similarity index 96% rename from contrib/include/wx/xml/xh_tree.h rename to contrib/include/wx/xrc/xh_tree.h index 9c3fe46a1a..1d49a463dd 100644 --- a/contrib/include/wx/xml/xh_tree.h +++ b/contrib/include/wx/xrc/xh_tree.h @@ -15,7 +15,7 @@ #pragma interface "xh_tree.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxTreeCtrlXmlHandler : public wxXmlResourceHandler { diff --git a/contrib/include/wx/xml/xh_unkwn.h b/contrib/include/wx/xrc/xh_unkwn.h similarity index 96% rename from contrib/include/wx/xml/xh_unkwn.h rename to contrib/include/wx/xrc/xh_unkwn.h index 1506345ffd..28aa99a251 100644 --- a/contrib/include/wx/xml/xh_unkwn.h +++ b/contrib/include/wx/xrc/xh_unkwn.h @@ -15,7 +15,7 @@ #pragma interface "xh_unkwn.h" #endif -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxUnknownWidgetXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xml/xml.h b/contrib/include/wx/xrc/xml.h similarity index 100% rename from contrib/include/wx/xml/xml.h rename to contrib/include/wx/xrc/xml.h diff --git a/contrib/include/wx/xml/xmlio.h b/contrib/include/wx/xrc/xmlio.h similarity index 85% rename from contrib/include/wx/xml/xmlio.h rename to contrib/include/wx/xrc/xmlio.h index a38e8a54c5..265ba508f7 100644 --- a/contrib/include/wx/xml/xmlio.h +++ b/contrib/include/wx/xrc/xmlio.h @@ -17,7 +17,7 @@ #include "wx/defs.h" #include "wx/string.h" -#include "wx/xml/xml.h" +#include "wx/xrc/xml.h" class WXXMLDLLEXPORT wxXmlIOHandlerExpat : public wxXmlIOHandler @@ -28,7 +28,8 @@ public: virtual bool CanSave() { return FALSE; } virtual bool Load(wxInputStream& stream, wxXmlDocument& doc); - virtual bool Save(wxOutputStream& stream, const wxXmlDocument& doc) { (void)stream; (void)doc; return FALSE; } + virtual bool Save(wxOutputStream& WXUNUSED(stream), const wxXmlDocument& WXUNUSED(doc)) + { return FALSE; } }; @@ -36,10 +37,11 @@ class WXXMLDLLEXPORT wxXmlIOHandlerWriter : public wxXmlIOHandler { public: virtual wxXmlIOType GetType() { return wxXML_IO_TEXT_OUTPUT; } - virtual bool CanLoad(wxInputStream& stream) { (void)stream; return FALSE; } + virtual bool CanLoad(wxInputStream& WXUNUSED(stream)) { return FALSE; } virtual bool CanSave() { return TRUE; } - virtual bool Load(wxInputStream& stream, wxXmlDocument& doc) { (void)stream; (void)doc; return FALSE; } + virtual bool Load(wxInputStream& WXUNUSED(stream), wxXmlDocument& WXUNUSED(doc)) + { return FALSE; } virtual bool Save(wxOutputStream& stream, const wxXmlDocument& doc); }; diff --git a/contrib/include/wx/xml/xmlres.h b/contrib/include/wx/xrc/xmlres.h similarity index 99% rename from contrib/include/wx/xml/xmlres.h rename to contrib/include/wx/xrc/xmlres.h index 172de3007f..61247013fa 100644 --- a/contrib/include/wx/xml/xmlres.h +++ b/contrib/include/wx/xrc/xmlres.h @@ -25,7 +25,7 @@ #include "wx/bitmap.h" #include "wx/icon.h" -#include "wx/xml/xml.h" +#include "wx/xrc/xml.h" class WXDLLEXPORT wxMenu; class WXDLLEXPORT wxMenuBar; diff --git a/contrib/samples/Makefile.in b/contrib/samples/Makefile.in index af1e43ad6a..1133423958 100644 --- a/contrib/samples/Makefile.in +++ b/contrib/samples/Makefile.in @@ -1,6 +1,6 @@ # $Id$ -CONTRIB_SAMPLES=mmedia ogl stc gizmos canvas xml plot applet +CONTRIB_SAMPLES=mmedia ogl stc gizmos canvas xrc plot applet all: @for d in $(CONTRIB_SAMPLES); do (cd $$d && $(MAKE)); done diff --git a/contrib/samples/xml/Makefile.in b/contrib/samples/xrc/Makefile.in similarity index 83% rename from contrib/samples/xml/Makefile.in rename to contrib/samples/xrc/Makefile.in index 45ee21ad31..6d7da4cb7c 100644 --- a/contrib/samples/xml/Makefile.in +++ b/contrib/samples/xrc/Makefile.in @@ -7,13 +7,13 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. -program_dir = contrib/samples/xml +program_dir = contrib/samples/xrc -PROGRAM=xmldemo +PROGRAM=xrcdemo OBJECTS=$(PROGRAM).o -APPEXTRALIBS=$(top_builddir)/lib/libwxxml.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/libwxxrc.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include DATADIRS = rc diff --git a/contrib/samples/xml/XmlDemoVC.dsp b/contrib/samples/xrc/XmlDemoVC.dsp similarity index 96% rename from contrib/samples/xml/XmlDemoVC.dsp rename to contrib/samples/xrc/XmlDemoVC.dsp index 4b10e558a3..d17ec0f40c 100644 --- a/contrib/samples/xml/XmlDemoVC.dsp +++ b/contrib/samples/xrc/XmlDemoVC.dsp @@ -56,7 +56,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib wxxml.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "XmlDemoVC - Win32 Debug" @@ -82,7 +82,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib wxxmld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "XmlDemoVC - Win32 Debug DLL" @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdlld.lib wxxmld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdlld.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "XmlDemoVC - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdll.lib wxxml.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdll.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ENDIF diff --git a/contrib/samples/xml/XmlDemoVC.dsw b/contrib/samples/xrc/XmlDemoVC.dsw similarity index 100% rename from contrib/samples/xml/XmlDemoVC.dsw rename to contrib/samples/xrc/XmlDemoVC.dsw diff --git a/contrib/samples/xml/makefile.b32 b/contrib/samples/xrc/makefile.b32 similarity index 81% rename from contrib/samples/xml/makefile.b32 rename to contrib/samples/xrc/makefile.b32 index f24b64c46b..717e97799b 100644 --- a/contrib/samples/xml/makefile.b32 +++ b/contrib/samples/xrc/makefile.b32 @@ -9,9 +9,9 @@ WXDIR = $(WXWIN) -TARGET=xmldemo +TARGET=xrcdemo -EXTRALIBS=$(WXDIR)\lib\wxxml.lib +EXTRALIBS=$(WXDIR)\lib\wxxrc.lib OBJECTS = $(TARGET).obj !include $(WXDIR)\src\makeprog.b32 diff --git a/contrib/samples/xml/makefile.g95 b/contrib/samples/xrc/makefile.g95 similarity index 84% rename from contrib/samples/xml/makefile.g95 rename to contrib/samples/xrc/makefile.g95 index 8377fef413..c78a91f737 100644 --- a/contrib/samples/xml/makefile.g95 +++ b/contrib/samples/xrc/makefile.g95 @@ -5,10 +5,10 @@ WXDIR = ../../.. -TARGET = xmldemo +TARGET = xrcdemo OBJECTS = $(TARGET).o EXTRAINC = -I$(WXDIR)/contrib/include -EXTRALIBS = -lwxxml +EXTRALIBS = -lwxxrc include $(WXDIR)/src/makeprog.g95 diff --git a/contrib/samples/xml/makefile.vc b/contrib/samples/xrc/makefile.vc similarity index 76% rename from contrib/samples/xml/makefile.vc rename to contrib/samples/xrc/makefile.vc index 4c4acdd25a..e0130b2180 100644 --- a/contrib/samples/xml/makefile.vc +++ b/contrib/samples/xrc/makefile.vc @@ -4,10 +4,10 @@ # Updated: WXDIR = $(WXWIN) -PROGRAM = xmldemo +PROGRAM = xrcdemo OBJECTS = $(PROGRAM).obj -EXTRALIBS = $(WXDIR)\lib\wxxml$(LIBEXT).lib +EXTRALIBS = $(WXDIR)\lib\wxxrc$(LIBEXT).lib EXTRAINC = -I$(WXDIR)\contrib\include !include $(WXDIR)\src\makeprog.vc diff --git a/contrib/samples/xml/rc/appicon.ico b/contrib/samples/xrc/rc/appicon.ico similarity index 100% rename from contrib/samples/xml/rc/appicon.ico rename to contrib/samples/xrc/rc/appicon.ico diff --git a/contrib/samples/xml/rc/appicon.xpm b/contrib/samples/xrc/rc/appicon.xpm similarity index 100% rename from contrib/samples/xml/rc/appicon.xpm rename to contrib/samples/xrc/rc/appicon.xpm diff --git a/contrib/samples/xml/rc/fileopen.gif b/contrib/samples/xrc/rc/fileopen.gif similarity index 100% rename from contrib/samples/xml/rc/fileopen.gif rename to contrib/samples/xrc/rc/fileopen.gif diff --git a/contrib/samples/xml/rc/filesave.gif b/contrib/samples/xrc/rc/filesave.gif similarity index 100% rename from contrib/samples/xml/rc/filesave.gif rename to contrib/samples/xrc/rc/filesave.gif diff --git a/contrib/samples/xml/rc/fuzzy.gif b/contrib/samples/xrc/rc/fuzzy.gif similarity index 100% rename from contrib/samples/xml/rc/fuzzy.gif rename to contrib/samples/xrc/rc/fuzzy.gif diff --git a/contrib/samples/xml/rc/quotes.gif b/contrib/samples/xrc/rc/quotes.gif similarity index 100% rename from contrib/samples/xml/rc/quotes.gif rename to contrib/samples/xrc/rc/quotes.gif diff --git a/contrib/samples/xml/rc/resource.xrc b/contrib/samples/xrc/rc/resource.xrc similarity index 100% rename from contrib/samples/xml/rc/resource.xrc rename to contrib/samples/xrc/rc/resource.xrc diff --git a/contrib/samples/xml/rc/scanning.gif b/contrib/samples/xrc/rc/scanning.gif similarity index 100% rename from contrib/samples/xml/rc/scanning.gif rename to contrib/samples/xrc/rc/scanning.gif diff --git a/contrib/samples/xml/rc/update.gif b/contrib/samples/xrc/rc/update.gif similarity index 100% rename from contrib/samples/xml/rc/update.gif rename to contrib/samples/xrc/rc/update.gif diff --git a/contrib/samples/xml/xmldemo.cpp b/contrib/samples/xrc/xrcdemo.cpp similarity index 98% rename from contrib/samples/xml/xmldemo.cpp rename to contrib/samples/xrc/xrcdemo.cpp index 9564d25abd..7faaa1cda6 100644 --- a/contrib/samples/xml/xmldemo.cpp +++ b/contrib/samples/xrc/xrcdemo.cpp @@ -15,8 +15,8 @@ // headers // ---------------------------------------------------------------------------- #ifdef __GNUG__ - #pragma implementation "xmldemo.cpp" - #pragma interface "xmldemo.cpp" + #pragma implementation "xrcdemo.cpp" + #pragma interface "xrcdemo.cpp" #endif // For compilers that support precompilation, includes "wx/wx.h". @@ -33,7 +33,7 @@ #endif #include "wx/image.h" -#include "wx/xml/xmlres.h" +#include "wx/xrc/xmlres.h" // ---------------------------------------------------------------------------- // resources diff --git a/contrib/samples/xml/xmldemo.rc b/contrib/samples/xrc/xrcdemo.rc similarity index 100% rename from contrib/samples/xml/xmldemo.rc rename to contrib/samples/xrc/xrcdemo.rc diff --git a/contrib/src/Makefile.in b/contrib/src/Makefile.in index b531e22864..15b4ebb5b0 100644 --- a/contrib/src/Makefile.in +++ b/contrib/src/Makefile.in @@ -1,6 +1,6 @@ # $Id$ -CONTRIB_SUBDIRS=ogl mmedia stc xml applet +CONTRIB_SUBDIRS=ogl mmedia stc xrc applet all: @for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE)); done diff --git a/contrib/src/xml/FORMAT.txt b/contrib/src/xml/FORMAT.txt deleted file mode 100644 index 6d93b5d28b..0000000000 --- a/contrib/src/xml/FORMAT.txt +++ /dev/null @@ -1,324 +0,0 @@ - - XML resources file format - =============================== - - 1. Basics ------------ - -XML resource is well-formed XML document, i.e. all tags are paired -and there is only one root node, which is always . - -In the following text, I will use standard XML terminology: - - - - - -Here, tag_one is a node (the word 'tag' refers to the type of the node), -prop1 and prop2 are properties and tag_two is a child node of tag_one. -Property's default value is the value that will be assigned to the property -if you do not specify it explicitly. - -I will use the term "primary node" to refer to nodes than represent controls, -dialogs etc. "Secondary nodes" are nodes used to store data: - - primary - Demo Dialog... secondary - 100,200d secondary - secondary - - - - -In the example above,