]> git.saurik.com Git - wxWidgets.git/commitdiff
Added bakefiles for contrib/utils/convertrc and contrib/utils/wxrcedit
authorMattia Barbon <mbarbon@cpan.org>
Wed, 10 Sep 2003 20:53:01 +0000 (20:53 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Wed, 10 Sep 2003 20:53:01 +0000 (20:53 +0000)
and regenerated makefiles.
  various compilation and warning fixes for recent changes and for
WXWIN_COMPATIBILITY_2_4==0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

24 files changed:
build/bakefiles/Bakefiles.bkgen
build/bakefiles/common_contrib.bkl
contrib/src/deprecated/prop.cpp
contrib/src/deprecated/proplist.cpp
contrib/src/deprecated/resource.cpp
contrib/src/deprecated/wxexpr.cpp
contrib/utils/convertrc/Makefile.in
contrib/utils/convertrc/convertrc.bkl [new file with mode: 0644]
contrib/utils/convertrc/rc2wxr.cpp
contrib/utils/wxrcedit/Makefile.in
contrib/utils/wxrcedit/edapp.cpp
contrib/utils/wxrcedit/editor.cpp
contrib/utils/wxrcedit/nodehnd.cpp
contrib/utils/wxrcedit/nodehnd.h
contrib/utils/wxrcedit/nodesdb.h
contrib/utils/wxrcedit/pe_adv.cpp
contrib/utils/wxrcedit/pe_basic.cpp
contrib/utils/wxrcedit/preview.cpp
contrib/utils/wxrcedit/propedit.cpp
contrib/utils/wxrcedit/propframe.cpp
contrib/utils/wxrcedit/splittree.cpp
contrib/utils/wxrcedit/splittree.h
contrib/utils/wxrcedit/wxrcedit.bkl [new file with mode: 0644]
contrib/utils/wxrcedit/xmlhelpr.cpp

index 22033fd5159df4eb0129bcb5a3f9a98033fc6207..258269809b89814f5a000bbcd64c4025e08e70aa 100644 (file)
@@ -16,6 +16,7 @@
         ../../utils/*.bkl
         ../../utils/*/*.bkl
         ../../utils/*/*/*.bkl
+        ../../contrib/utils/*/*.bkl
         ../../contrib/samples/*.bkl
         ../../contrib/samples/*/*.bkl
         ../../contrib/samples/*/*/*.bkl
index 66df3fb45058c305bdef41f1a24ef9bd80185d5d..0a2c2dd880af3f0d50981dc22a5baf014f93d659 100644 (file)
@@ -32,5 +32,8 @@
     <template id="wx_contrib_headers">
         <srcdir>$(CONTRIB_HDR_DIR)</srcdir>
     </template>    
-    
+
+    <template id="wx_contrib_util" template="wx_util">
+        <include>$(CONTRIB_HDR_DIR)</include>
+    </template>
 </makefile>
index 75bfa145b2390c075bc6d51dbfb250b4f5b4de95..b1af196e3612cd67b83e7193db6d85f3b59a6725 100644 (file)
@@ -35,6 +35,8 @@
 #include <math.h>
 #include <string.h>
 
+static inline wxChar* copystring(const wxChar* s)
+    { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
 
 IMPLEMENT_DYNAMIC_CLASS(wxPropertyValue, wxObject)
 
@@ -1154,11 +1156,17 @@ wxChar *wxPropertyValidator::DoubleToString (double number) {
 }
 
 wxChar *wxPropertyValidator::IntToString (int number) {
-    return ::IntToString (number);
+    static wxChar buf[20];
+
+    wxSprintf (buf, wxT("%d"), number);
+    return buf;
 }
 
 wxChar *wxPropertyValidator::LongToString (long number) {
-    return ::LongToString (number);
-  }
+    static wxChar buf[20];
+
+    wxSprintf (buf, wxT("%ld"), number);
+    return buf;
+}
 
 #endif // wxUSE_PROPSHEET
index e8d5ae0fde7d9de8148226b7ac10576abfc1f0b6..14da01698651b9b94d91b3e3639491bcea1b64a6 100644 (file)
@@ -57,6 +57,9 @@
 #include <math.h>
 #include <string.h>
 
+static inline wxChar* copystring(const wxChar* s)
+    { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
+
 // ----------------------------------------------------------------------------
 // Property text edit control
 // ----------------------------------------------------------------------------
index 17a5fdadc424ec91f630fc95cf6c6daf3c9c68c9..d6ff9e7fe209d6febaf6fb041d57ba12a70d647e 100644 (file)
@@ -89,6 +89,9 @@
 #include "wx/deprecated/resource.h"
 #include "wx/deprecated/wxexpr.h"
 
+static inline wxChar* copystring(const wxChar* s)
+    { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
+
 // Forward (private) declarations
 bool wxResourceInterpretResources(wxResourceTable& table, wxExprDatabase& db);
 wxItemResource *wxResourceInterpretDialog(wxResourceTable& table, wxExpr *expr, bool isPanel = FALSE);
index e97f0cbbd8f13798ddf19a23206edda29df9b223..c859d8bccf66f53129cbc009e4bb7917bb208935 100644 (file)
@@ -32,6 +32,9 @@
 #include "wx/deprecated/expr.h"
 #include "wx/deprecated/wxexpr.h"
 
+static inline wxChar* copystring(const wxChar* s)
+    { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
+
 extern "C" void add_expr(char *);
 extern "C" void LexFromFile(FILE *fd);
 extern "C" void LexFromString(char *buf);
index a09d38e1a6249addb338143bc145dd59f6bb3ff7..b195b9c628b6f3137dbd88e4f8991a60e6f940d9 100644 (file)
-# $Id$
+# =========================================================================
+#     This makefile was generated by
+#     Bakefile 0.1.1 (http://bakefile.sourceforge.net)
+#     Do not modify, all changes will be overwritten!
+# =========================================================================
 
-top_srcdir = @top_srcdir@/..
-top_builddir = ../../..
-program_dir = contrib/utils/convertrc
 
-PROGRAM=convert
+@MAKE_SET@
 
-APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_wxdeprecated-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@
-APPEXTRADEFS=-I$(top_srcdir)/contrib/include
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+INSTALL = @INSTALL@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXFLAGS = @CXXFLAGS@
+EXEEXT = @EXEEXT@
+EXTRALIBS = @EXTRALIBS@
+EXTRALIBS_GUI = @EXTRALIBS_GUI@
+EXTRALIBS_XML = @EXTRALIBS_XML@
+HOST_SUFFIX = @HOST_SUFFIX@
+INSTALL_DIR = @INSTALL_DIR@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_GUI = @LDFLAGS_GUI@
+RESCOMP = @RESCOMP@
+SETFILE = @SETFILE@
+STRIP = @STRIP@
+TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
+TOOLKIT = @TOOLKIT@
+TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
+TOOLKIT_VERSION = @TOOLKIT_VERSION@
+bindir = @bindir@
+srcdir = @srcdir@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
 
-OBJECTS=convert.o rc2xml.o rc2wxr.o wxr2xml.o
+### Variables: ###
 
-include $(top_builddir)/src/makeprog.env
+CONVERTRC_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
+       -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
+       -I$(srcdir)/../../../samples -I$(srcdir)/../../include $(CXXFLAGS)
+CONVERTRC_OBJECTS =  \
+       convertrc_convert.o \
+       convertrc_rc2wxr.o \
+       convertrc_rc2xml.o \
+       convertrc_wxr2xml.o \
+       $(__convertrc___win32rc)
+LIBDIRNAME = $(top_builddir)lib
+
+### Conditionally set variables: ###
+
+@COND_DEPS_TRACKING_0@CXXC = $(CXX)
+@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
+@COND_USE_GUI_0@PORTNAME = base
+@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
+@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
+@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
+@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
+@COND_UNICODE_1@WXUNICODEFLAG = u
+@COND_WXUNIV_1@WXUNIVNAME = univ
+@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
+@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
+@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
+@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
+@COND_WXUSE_EXPAT_BUILTIN@     -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
+@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
+@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
+@COND_WXUSE_ODBC_BUILTIN@      -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
+@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@  = \
+@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@  -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
+@COND_WXUSE_REGEX_BUILTIN@     -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
+@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
+@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
+@COND_WXUSE_ZLIB_BUILTIN@      -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
+COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
+       __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
+       $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -i $(srcdir)/../../include -o \
+       convertrc$(EXEEXT) Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r \
+       sample.r
+@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
+@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
+@COND_MONOLITHIC_0@    -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
+COND_MONOLITHIC_0___WXLIB_CORE_p = \
+       -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
+@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
+COND_MONOLITHIC_1___WXLIB_MONO_p = \
+       -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
+@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
+@COND_MONOLITHIC_0@__WXLIB_XML_p = \
+@COND_MONOLITHIC_0@    -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml-2.5$(HOST_SUFFIX)
+@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
+@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
+@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
+@COND_PLATFORM_MAC_1@__convertrc___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
+@COND_PLATFORM_MAC_1@__convertrc___mac_setfilecmd = \
+@COND_PLATFORM_MAC_1@  $(SETFILE) -a C convertrc$(EXEEXT)
+@COND_PLATFORM_WIN32_1@__convertrc___win32rc = convertrc_wxconvert_rc.o
+
+### Targets: ###
+
+all: convertrc$(EXEEXT)
+
+clean: 
+       rm -rf ./.deps ./.pch
+       rm -f ./*.o
+       rm -f convertrc$(EXEEXT)
+
+convertrc$(EXEEXT): $(CONVERTRC_OBJECTS) $(__convertrc___win32rc)
+       $(CXX) -o $@ $(CONVERTRC_OBJECTS) $(LDFLAGS)   -L$(LIBDIRNAME) $(LDFLAGS_GUI)  $(__WXLIB_CORE_p)  -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated-2.5$(HOST_SUFFIX)  $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_BASE_p)  $(EXTRALIBS_XML) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI)
+       $(__convertrc___mac_rezcmd)
+       $(__convertrc___mac_setfilecmd)
+
+convertrc_convert.o: $(srcdir)/convert.cpp
+       $(CXXC) -c -o $@ $(CONVERTRC_CXXFLAGS) $<
+
+convertrc_rc2wxr.o: $(srcdir)/rc2wxr.cpp
+       $(CXXC) -c -o $@ $(CONVERTRC_CXXFLAGS) $<
+
+convertrc_rc2xml.o: $(srcdir)/rc2xml.cpp
+       $(CXXC) -c -o $@ $(CONVERTRC_CXXFLAGS) $<
+
+convertrc_wxconvert_rc.o: $(srcdir)/wxconvert.rc
+       $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2)   --include-dir $(top_srcdir)/include --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../../samples --include-dir $(srcdir)/../../include
+
+convertrc_wxr2xml.o: $(srcdir)/wxr2xml.cpp
+       $(CXXC) -c -o $@ $(CONVERTRC_CXXFLAGS) $<
+
+distclean: clean
+       rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
+
+install: all install_convertrc
+
+install-strip: install
+       $(STRIP) $(bindir)/convertrc$(EXEEXT)
+
+install_convertrc: 
+       $(INSTALL_DIR) $(bindir)
+       $(INSTALL_PROGRAM) convertrc$(EXEEXT) $(bindir)
+
+uninstall: 
+
+
+# Include dependency info, if present:
+@IF_GNU_MAKE@-include .deps/*.d
+
+.PHONY: all clean distclean install install_convertrc uninstall
diff --git a/contrib/utils/convertrc/convertrc.bkl b/contrib/utils/convertrc/convertrc.bkl
new file mode 100644 (file)
index 0000000..a2b1bfd
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<makefile>
+
+    <include file="../../../build/bakefiles/common_samples.bkl"/>
+    <include file="../../../build/bakefiles/common_contrib.bkl"/>
+
+    <exe id="convertrc" template="wx_contrib_util" template_append="wx_append">
+        <sources>
+            convert.cpp
+            rc2wxr.cpp
+            rc2xml.cpp
+            wxr2xml.cpp
+        </sources>
+        <wx-lib>core</wx-lib>
+        <wx-lib>deprecated</wx-lib>
+        <wx-lib>xml</wx-lib>
+        <wx-lib>base</wx-lib>
+        <win32-res>wxconvert.rc</win32-res>
+        <ldlibs>$(EXTRALIBS_XML)</ldlibs>
+        <install-to>$(BINDIR)</install-to>
+    </exe>
+
+</makefile>
index 87abed7acb7712f63d6a55844734d0283d708a60..8adf43bec51aa54324527046400903d763f15b36 100644 (file)
@@ -251,7 +251,7 @@ if (!tok.IsNumber())
 
 //Generate Dialog text
 
-fprintf(m_wxr,"static char *dialog%i = \"dialog(name = '%s',\\\n",dlgid,dlgname);
+fprintf(m_wxr,"static char *dialog%i = \"dialog(name = '%s',\\\n",dlgid,dlgname.c_str());
 
 //be lazy about style for now. add it later
 
@@ -295,7 +295,7 @@ if (tok=="CAPTION")
 
 title=GetQuoteField();
 
-fprintf(m_wxr,"title = '%s',\\\n",title);
+fprintf(m_wxr,"title = '%s',\\\n",title.c_str());
 
 }
 
@@ -413,7 +413,7 @@ int x,y,width,height;
 
 ReadRect(x,y,width,height);
 
-fprintf(m_wxr,"  control = [%i,wxStaticText,'%s','0','%s',",m_controlid,phrase,varname);
+fprintf(m_wxr,"  control = [%i,wxStaticText,'%s','0','%s',",m_controlid,phrase.c_str(),varname.c_str());
 
 fprintf(m_wxr,"%i,%i,%i,%i,'',\\\n",x,y,width,height);
 
@@ -439,7 +439,7 @@ int x,y,width,height;
 
 ReadRect(x,y,width,height);
 
-fprintf(m_wxr,"  control = [%i,wxTextCtrl,'','0','%s',",m_controlid,varname);
+fprintf(m_wxr,"  control = [%i,wxTextCtrl,'','0','%s',",m_controlid,varname.c_str());
 
 fprintf(m_wxr,"%i,%i,%i,%i,'',\\\n",x,y,width,height);
 
@@ -491,7 +491,7 @@ int x,y,width,height;
 
 ReadRect(x,y,width,height);
 
-fprintf(m_wxr,"  control = [%i,wxButton,'%s','0','%s',",c,phrase,varname);
+fprintf(m_wxr,"  control = [%i,wxButton,'%s','0','%s',",c,phrase.c_str(),varname.c_str());
 
 fprintf(m_wxr,"%i,%i,%i,%i,'',\\\n",x,y,width,height);
 
@@ -551,7 +551,7 @@ int x,y,width,height;
 
 ReadRect(x,y,width,height);
 
-fprintf(m_wxr,"  control = [%i,wxStaticBox,'%s','0','%s',",m_controlid,phrase,varname);
+fprintf(m_wxr,"  control = [%i,wxStaticBox,'%s','0','%s',",m_controlid,phrase.c_str(),varname.c_str());
 
 fprintf(m_wxr,"%i,%i,%i,%i,'',\\\n",x,y,width,height);
 
@@ -771,7 +771,7 @@ ReadRect(x,y,width,height);
 
 
 
-fprintf(m_wxr,"  control = [%i,wxChoice,'','0','%s',",m_controlid,varname);
+fprintf(m_wxr,"  control = [%i,wxChoice,'','0','%s',",m_controlid,varname.c_str());
 
 fprintf(m_wxr,"%i,%i,%i,%i,[],\\\n",x,y,width,height);
 
@@ -795,7 +795,7 @@ static int menuid=0;
 
 menuid++;
 
-fprintf(m_wxr,"static char *MenuBar%i = \"menu(name = '%s',\\\n",menuid,name);
+fprintf(m_wxr,"static char *MenuBar%i = \"menu(name = '%s',\\\n",menuid,name.c_str());
 
 fprintf(m_wxr,"menu = \\\n");
 
@@ -857,7 +857,7 @@ spot=tok.First("\\t");
 
 tok=tok.Left(spot);
 
-fprintf(m_wxr,"  ['%s',%i,'',\\\n",tok,menuitem);
+fprintf(m_wxr,"  ['%s',%i,'',\\\n",tok.c_str(),menuitem);
 
 while ((tok!="BEGIN")&(tok!="{"))
 
@@ -893,7 +893,7 @@ tok=tok.Left(spot);
 
 menuitem++;
 
-fprintf(m_wxr,"      ['%s',%i,''],\\\n",tok,menuitem);
+fprintf(m_wxr,"      ['%s',%i,''],\\\n",tok.c_str(),menuitem);
 
 }
 
@@ -981,7 +981,7 @@ wxString tok;
 
 while (ReadOrs(tok));
 
-fprintf(m_wxr,"  control = [%i,wxSlider,'','wxSL_HORIZONTAL','%s',",m_controlid,varname);
+fprintf(m_wxr,"  control = [%i,wxSlider,'','wxSL_HORIZONTAL','%s',",m_controlid,varname.c_str());
 
 int x,y,width,height;
 
@@ -1011,7 +1011,7 @@ wxString tok;
 
 while (ReadOrs(tok));
 
-fprintf(m_wxr,"  control = [%i,wxGauge,'','wxGA_HORIZONTAL','%s',",m_controlid,varname);
+fprintf(m_wxr,"  control = [%i,wxGauge,'','wxGA_HORIZONTAL','%s',",m_controlid,varname.c_str());
 
 int x,y,width,height;
 
@@ -1069,7 +1069,7 @@ if (tok=="BS_AUTOCHECKBOX")
 
 {
 
-    fprintf(m_wxr,"  control = [%i,wxCheckBox,'%s','0','%s',",m_controlid,label,varname);
+    fprintf(m_wxr,"  control = [%i,wxCheckBox,'%s','0','%s',",m_controlid,label.c_str(),varname.c_str());
 
     while (ReadOrs(tok));
 
@@ -1087,7 +1087,7 @@ if (tok=="BS_AUTORADIOBUTTON")
 
 {
 
-    fprintf(m_wxr,"  control = [%i,wxRadioButton,'%s','0','%s',",m_controlid,label,varname);
+    fprintf(m_wxr,"  control = [%i,wxRadioButton,'%s','0','%s',",m_controlid,label.c_str(),varname.c_str());
 
     while(ReadOrs(tok));
 
index d23876ba045e3b772ee37c2ecc241c122d20d893..1e24c1739cd209459067987379f0b42e5a655310 100644 (file)
-# $Id$
-
-top_srcdir = @top_srcdir@/..
-top_builddir = ../../..
-program_dir = contrib/utils/wxrcedit
-
-PROGRAM=wxrcedit
-
-OBJECTS=edapp.o editor.o nodehnd.o xmlhelpr.o preview.o nodesdb.o \
-        pe_basic.o pe_adv.o propedit.o propframe.o splittree.o
-
-DATADIRS = df
-DATAFILES = df/break.df df/control.df df/menu_item.df df/notebookpage.df \
-            df/panel_item.df df/panelbase.df df/separator.df df/sizer_item.df \
-            df/sizeritem.df df/spacer.df df/tool.df df/toolbar_item.df \
-            df/unknown.df df/window.df df/wxBitmapButton.df df/wxBoxSizer.df \
-            df/wxButton.df df/wxCalendarCtrl.df df/wxCheckBox.df \
-            df/wxCheckList.df df/wxChoice.df df/wxComboBox.df df/wxDialog.df \
-            df/wxFlexGridSizer.df df/wxGauge.df df/wxGridSizer.df \
-            df/wxHtmlWindow.df df/wxListBox.df df/wxListCtrl.df df/wxMenu.df \
-            df/wxMenuBar.df df/wxMenuItem.df df/wxNotebook.df df/wxPanel.df \
-            df/wxRadioBox.df df/wxRadioButton.df df/wxScrollBar.df \
-            df/wxSlider.df df/wxSpinButton.df df/wxSpinCtrl.df \
-            df/wxStaticBitmap.df df/wxStaticBox.df df/wxStaticBoxSizer.df \
-            df/wxStaticLine.df df/wxStaticText.df df/wxTextCtrl.df \
-            df/wxToolBar.df df/wxTreeCtrl.df df/wxFrame.df
-            
-APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_xrc-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@
-APPEXTRADEFS=-I$(top_srcdir)/contrib/include
-
-include $(top_builddir)/src/makeprog.env
+# =========================================================================
+#     This makefile was generated by
+#     Bakefile 0.1.1 (http://bakefile.sourceforge.net)
+#     Do not modify, all changes will be overwritten!
+# =========================================================================
+
+
+@MAKE_SET@
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+INSTALL = @INSTALL@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXFLAGS = @CXXFLAGS@
+EXEEXT = @EXEEXT@
+EXTRALIBS = @EXTRALIBS@
+EXTRALIBS_GUI = @EXTRALIBS_GUI@
+EXTRALIBS_XML = @EXTRALIBS_XML@
+HOST_SUFFIX = @HOST_SUFFIX@
+INSTALL_DIR = @INSTALL_DIR@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_GUI = @LDFLAGS_GUI@
+RESCOMP = @RESCOMP@
+SETFILE = @SETFILE@
+STRIP = @STRIP@
+TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
+TOOLKIT = @TOOLKIT@
+TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
+TOOLKIT_VERSION = @TOOLKIT_VERSION@
+bindir = @bindir@
+srcdir = @srcdir@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+
+### Variables: ###
+
+LIBDIRNAME = $(top_builddir)lib
+WXRCEDIT_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
+       -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
+       -I$(srcdir)/../../../samples -I$(srcdir)/../../include $(CXXFLAGS)
+WXRCEDIT_OBJECTS =  \
+       wxrcedit_edapp.o \
+       wxrcedit_editor.o \
+       wxrcedit_nodehnd.o \
+       wxrcedit_nodesdb.o \
+       wxrcedit_pe_adv.o \
+       wxrcedit_pe_basic.o \
+       wxrcedit_preview.o \
+       wxrcedit_propedit.o \
+       wxrcedit_propframe.o \
+       wxrcedit_splittree.o \
+       wxrcedit_xmlhelpr.o \
+       $(__wxrcedit___win32rc)
+
+### Conditionally set variables: ###
+
+@COND_DEPS_TRACKING_0@CXXC = $(CXX)
+@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
+@COND_USE_GUI_0@PORTNAME = base
+@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
+@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
+@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
+@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
+@COND_UNICODE_1@WXUNICODEFLAG = u
+@COND_WXUNIV_1@WXUNIVNAME = univ
+@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
+@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
+@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
+@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
+@COND_WXUSE_EXPAT_BUILTIN@     -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
+@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
+@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
+@COND_WXUSE_ODBC_BUILTIN@      -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
+@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@  = \
+@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@  -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
+@COND_WXUSE_REGEX_BUILTIN@     -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
+@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
+@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
+@COND_WXUSE_ZLIB_BUILTIN@      -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
+COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
+       __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
+       $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -i $(srcdir)/../../include -o \
+       wxrcedit$(EXEEXT) Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r \
+       sample.r
+@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
+COND_MONOLITHIC_0___WXLIB_ADV_p = \
+       -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv-2.5$(HOST_SUFFIX)
+@COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p)
+@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
+@COND_MONOLITHIC_0@    -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
+COND_MONOLITHIC_0___WXLIB_CORE_p = \
+       -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
+@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
+COND_MONOLITHIC_0___WXLIB_HTML_p = \
+       -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5$(HOST_SUFFIX)
+@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
+COND_MONOLITHIC_1___WXLIB_MONO_p = \
+       -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
+@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
+@COND_MONOLITHIC_0@__WXLIB_XML_p = \
+@COND_MONOLITHIC_0@    -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml-2.5$(HOST_SUFFIX)
+@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
+@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
+@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
+@COND_PLATFORM_MAC_1@__wxrcedit___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
+@COND_PLATFORM_MAC_1@__wxrcedit___mac_setfilecmd = \
+@COND_PLATFORM_MAC_1@  $(SETFILE) -a C wxrcedit$(EXEEXT)
+@COND_PLATFORM_WIN32_1@__wxrcedit___win32rc = wxrcedit_wxrcedit_rc.o
+
+### Targets: ###
+
+all: wxrcedit$(EXEEXT)
+
+clean: 
+       rm -rf ./.deps ./.pch
+       rm -f ./*.o
+       rm -f wxrcedit$(EXEEXT)
+
+distclean: clean
+       rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
+
+install: all install_wxrcedit
+
+install-strip: install
+       $(STRIP) $(bindir)/wxrcedit$(EXEEXT)
+
+install_wxrcedit: 
+       $(INSTALL_DIR) $(bindir)
+       $(INSTALL_PROGRAM) wxrcedit$(EXEEXT) $(bindir)
+
+uninstall: 
+
+wxrcedit$(EXEEXT): $(WXRCEDIT_OBJECTS) $(__wxrcedit___win32rc)
+       $(CXX) -o $@ $(WXRCEDIT_OBJECTS) $(LDFLAGS)   -L$(LIBDIRNAME) $(LDFLAGS_GUI)  -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)  $(__WXLIB_ADV_p)  $(__WXLIB_HTML_p)  $(__WXLIB_CORE_p)  $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_BASE_p)  $(EXTRALIBS_XML) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI)
+       $(__wxrcedit___mac_rezcmd)
+       $(__wxrcedit___mac_setfilecmd)
+
+wxrcedit_edapp.o: $(srcdir)/edapp.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+wxrcedit_editor.o: $(srcdir)/editor.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+wxrcedit_nodehnd.o: $(srcdir)/nodehnd.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+wxrcedit_nodesdb.o: $(srcdir)/nodesdb.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+wxrcedit_pe_adv.o: $(srcdir)/pe_adv.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+wxrcedit_pe_basic.o: $(srcdir)/pe_basic.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+wxrcedit_preview.o: $(srcdir)/preview.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+wxrcedit_propedit.o: $(srcdir)/propedit.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+wxrcedit_propframe.o: $(srcdir)/propframe.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+wxrcedit_splittree.o: $(srcdir)/splittree.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+wxrcedit_wxrcedit_rc.o: $(srcdir)/wxrcedit.rc
+       $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2)   --include-dir $(top_srcdir)/include --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../../samples --include-dir $(srcdir)/../../include
+
+wxrcedit_xmlhelpr.o: $(srcdir)/xmlhelpr.cpp
+       $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
+
+
+# Include dependency info, if present:
+@IF_GNU_MAKE@-include .deps/*.d
+
+.PHONY: all clean distclean install install_wxrcedit uninstall
index 10a151c8914e52bad8fbdc0e997a80a0a023a306..9c3602ffaad75f7107cbb9f98654f0a451a6cad0 100644 (file)
@@ -25,7 +25,7 @@
     #include "wx/wx.h"
 #endif
 
-#include "wx/xrc/xml.h"
+#include "wx/xml/xml.h"
 #include "wx/image.h"
 #include "wx/wx.h"
 
index d24f9b932a41c1e3a808f3a5e0cb8a7358cf6dc2..a77da8d858e5f8c8f797319c32c609d31c424c83 100644 (file)
@@ -19,7 +19,7 @@
 #endif
 
 #include "wx/wx.h"
-#include "wx/xrc/xml.h"
+#include "wx/xml/xml.h"
 #include "wx/xrc/xmlres.h"
 #include "wx/splitter.h"
 #include "wx/config.h"
@@ -396,7 +396,7 @@ void EditorFrame::RefreshTree()
 static void RecursivelyExpand(wxTreeCtrl *t, wxTreeItemId item)
 {
     t->Expand(item);
-    long cookie;
+    void* cookie;
     wxTreeItemId id = t->GetFirstChild(item, cookie);
     while (id.IsOk())
     {
@@ -416,7 +416,7 @@ bool EditorFrame::SelectNode(wxXmlNode *node, wxTreeItemId *root)
     wxTreeItemId item;
     XmlTreeData *dt;
     wxXmlNode *nd;
-    long cookie;
+    void* cookie;
     
     item = m_TreeCtrl->GetFirstChild(*root, cookie);
     while (item.IsOk())
index 306e91264cc1b747d1da2987781e3389697d232d..e8a9abc39bb8a1f1563176aaed6bbb13ef1ab505 100644 (file)
@@ -18,7 +18,7 @@
 #endif
 
 #include "nodehnd.h"
-#include "wx/xrc/xml.h"
+#include "wx/xml/xml.h"
 #include "wx/filefn.h"
 #include "wx/wx.h"
 #include "wx/arrimpl.cpp"
index 869c324fc4a41a54cc7968e603342be880258fc3..945bc76d656709be9ed81d914dcc57d773777e7d 100644 (file)
@@ -22,9 +22,9 @@ class WXDLLEXPORT wxListCtrl;
 class EditorFrame;
 
 #include "wx/treectrl.h"
-#include "wx/xrc/xml.h"
+#include "wx/xml/xml.h"
 #include "nodesdb.h"
-
+#include "wx/arrstr.h"
 
 
 
index 9cff136e98b74a01364747caccc5540747b222c9..6ed3b24bf6e5020e021c8bb525b7009d3c6db4d0 100644 (file)
@@ -15,6 +15,7 @@
 #define _NODESDB_H_
 
 #include "wx/dynarray.h"
+#include "wx/arrstr.h"
 
 class WXDLLEXPORT wxXmlNode;
 class WXDLLEXPORT wxString;
index e4e45dfc810aa88f9e4cae3f2d51486a252cdf25..88b447b8d005859f051e64aa26a7070369c7fb3e 100644 (file)
@@ -18,7 +18,7 @@
 #endif
 
 #include "wx/wx.h"
-#include "wx/xrc/xml.h"
+#include "wx/xml/xml.h"
 #include "wx/tokenzr.h"
 #include "wx/wx.h"
 #include "wx/dialog.h"
index 0b017f5904a7b49684cf1d809cef81b96ac0dfe4..b55b81f9ebde0f81a56f24f834dc078d5cabd534 100644 (file)
@@ -18,7 +18,7 @@
 #endif
 
 #include "wx/wx.h"
-#include "wx/xrc/xml.h"
+#include "wx/xml/xml.h"
 #include "wx/tokenzr.h"
 #include "pe_basic.h"
 #include "xmlhelpr.h"
index b939a4314eef5ba340589d3c3ece515ab508ba13..22d9ceeaab0cb237c1c06ab50e4d4580400de54a 100644 (file)
@@ -18,7 +18,7 @@
 #endif
 
 #include "wx/wx.h"
-#include "wx/xrc/xml.h"
+#include "wx/xml/xml.h"
 #include "wx/xrc/xmlres.h"
 #include "wx/config.h"
 #include "wx/log.h"
index a8029088eed7796077823d9f544a14b0197d0bf9..a2021b83d0c77a5140037832071be3921d338b86 100644 (file)
@@ -18,7 +18,7 @@
 #endif
 
 #include "wx/wx.h"
-#include "wx/xrc/xml.h"
+#include "wx/xml/xml.h"
 #include "propframe.h"
 #include "propedit.h"
 #include "xmlhelpr.h"
index ce33f21d681b7ee9be9a8af7ed8d9ae0126fa013..1e160c67e7c1900fda0007747d49f5dbf17bf1d5 100644 (file)
@@ -18,7 +18,7 @@
 #endif
 
 #include "wx/wx.h"
-#include "wx/xrc/xml.h"
+#include "wx/xml/xml.h"
 #include "wx/config.h"
 #include "splittree.h"
 #include "xmlhelpr.h"
index c22945844adbe36bb8c07a0aca1269dce38124f2..5955bc135f3c5616b862acea7bcf35c5dfdfa6f0 100644 (file)
@@ -18,7 +18,7 @@
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma implementation "splittree.h"
 #endif
 
@@ -332,9 +332,9 @@ void wxRemotelyScrolledTreeCtrl::CalcTreeSize(const wxTreeItemId& id, wxRect& re
                rect = CombineRectangles(rect, itemSize);
        }
 
-       long cookie;
+       void* cookie;
        wxTreeItemId childId = GetFirstChild(id, cookie);
-       while (childId != 0)
+       while (childId)
        {
                CalcTreeSize(childId, rect);
                childId = GetNextChild(childId, cookie);
@@ -495,6 +495,10 @@ wxThinSplitterWindow::wxThinSplitterWindow(wxWindow* parent, wxWindowID id,
 {
 }
 
+wxThinSplitterWindow::~wxThinSplitterWindow()
+{
+}
+
 void wxThinSplitterWindow::SizeWindows()
 {
        // The client size may have changed inbetween
@@ -512,7 +516,7 @@ bool wxThinSplitterWindow::SashHitTest(int x, int y, int tolerance)
 
 void wxThinSplitterWindow::DrawSash(wxDC& dc)
 {
-    if ( m_sashPosition == 0 || !m_windowTwo)
+    if ( GetSashPosition() == 0 || !m_windowTwo)
         return;
     if (GetWindowStyle() & wxSP_NOSASH)
         return;
@@ -532,7 +536,7 @@ void wxThinSplitterWindow::DrawSash(wxDC& dc)
                {
                        y1 = 2; h1 -= 3;
                }
-               dc.DrawRectangle(m_sashPosition, y1, m_sashSize, h1);
+               dc.DrawRectangle(GetSashPosition(), y1, GetSashSize(), h1);
        }
        else
        {
@@ -546,7 +550,7 @@ void wxThinSplitterWindow::DrawSash(wxDC& dc)
                {
                        x1 = 2; w1 -= 3;
                }
-               dc.DrawRectangle(x1, m_sashPosition, w1, m_sashSize);
+               dc.DrawRectangle(x1, GetSashPosition(), w1, GetSashSize());
        }
        
     dc.SetPen(wxNullPen);
index c5c53b8e0a094503dc59991a5a01d4a1ffc10667..4d39434da76ed0aa00a338cdff29bd684d72ff49 100644 (file)
@@ -166,6 +166,7 @@ public:
       const wxPoint& pos = wxDefaultPosition,
       const wxSize& sz = wxDefaultSize,
       long style = wxSP_3D | wxCLIP_CHILDREN);
+    ~wxThinSplitterWindow();
 
 //// Overrides
 
diff --git a/contrib/utils/wxrcedit/wxrcedit.bkl b/contrib/utils/wxrcedit/wxrcedit.bkl
new file mode 100644 (file)
index 0000000..804ac66
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" ?>
+<makefile>
+
+    <include file="../../../build/bakefiles/common_samples.bkl"/>
+    <include file="../../../build/bakefiles/common_contrib.bkl"/>
+
+    <exe id="wxrcedit" template="wx_contrib_util" template_append="wx_append">
+        <sources>
+            edapp.cpp
+            editor.cpp
+            nodehnd.cpp
+            nodesdb.cpp
+            pe_adv.cpp
+            pe_basic.cpp
+            preview.cpp
+            propedit.cpp
+            propframe.cpp
+            splittree.cpp
+            xmlhelpr.cpp
+        </sources>
+        <wx-lib>xrc</wx-lib>
+        <wx-lib>adv</wx-lib>
+        <wx-lib>html</wx-lib>
+        <wx-lib>core</wx-lib>
+        <wx-lib>xml</wx-lib>
+        <wx-lib>base</wx-lib>
+        <win32-res>wxrcedit.rc</win32-res>
+        <ldlibs>$(EXTRALIBS_XML)</ldlibs>
+        <install-to>$(BINDIR)</install-to>
+    </exe>
+
+</makefile>
index 55b5ade824c568b376916b91d0bdfaf1790cb06f..73a69129c671fb0a98741353d1ee1d65340d5b8f 100644 (file)
@@ -17,7 +17,7 @@
     #pragma hdrstop
 #endif
 
-#include "wx/xrc/xml.h"
+#include "wx/xml/xml.h"
 #include "wx/wx.h"
 #include "wx/tokenzr.h"
 #include "xmlhelpr.h"