--- /dev/null
+#
+# File: makefile.b32
+# Author: Julian Smart
+# Created: 1999
+# Updated:
+# Copyright:
+#
+# Makefile : Builds wxrc for 32-bit BC++
+
+WXDIR = $(WXWIN)
+
+TARGET=wxrc
+EXTRALIBS=$(WXDIR)\lib\wxxml.lib
+OBJECTS = $(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.b32
+
--- /dev/null
+#
+# File: makefile.g95
+# Author: Julian Smart
+# Created: 1999
+# Updated:
+# Copyright: (c) Julian Smart, 1999
+#
+# Makefile for wxrc (Cygwin/Mingw32).
+
+WXDIR = ../../..
+
+TARGET=wxrc
+EXTRALIBS=-lwxxml
+OBJECTS = $(TARGET).o
+
+include $(WXDIR)/src/makeprog.g95
+
--- /dev/null
+#
+# File: makefile.vc
+# Author: Julian Smart
+# Created: 2000
+# Updated:
+# Copyright: (c) Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile : Builds wxrc (XML resource compiler)
+# Use FINAL=1 argument to nmake to build final version with no debugging
+# info
+# Set WXDIR for your system
+WXDIR = $(WXWIN)
+
+PROGRAM=wxrc
+
+FINAL=0
+
+!if "$(FINAL)" == "0"
+EXTRALIBS=$(WXDIR)\lib\wxxmld.lib
+!else
+EXTRALIBS=$(WXDIR)\lib\wxxml.lib
+!endif
+
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.vc
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = wxrc
+EXTRALIBS = $(WXDIR)\lib\wxxml.lib
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
#include "wx/xml/xml.h"
#include "wx/ffile.h"
-
+/*
#if wxUSE_GUI
#error "You must compile the resource compiler with wxBase!"
#endif
-
+*/
class XmlResApp : public wxApp
{
public:
+
+#if wxUSE_GUI
+ bool OnInit();
+#else
virtual int OnRun();
+#endif
private:
IMPLEMENT_APP(XmlResApp)
+#if wxUSE_GUI
+bool XmlResApp::OnInit()
+#else
int XmlResApp::OnRun()
+#endif
{
static const wxCmdLineEntryDesc cmdLineDesc[] =
{
retCode = 0;
ParseParams(parser);
CompileRes();
+#if wxUSE_GUI
+ return FALSE;
+#else
return retCode;
+#endif
break;
default:
+#if wxUSE_GUI
+ return FALSE;
+#else
return 1;
+#endif
break;
}
}
--- /dev/null
+mondrian ICON "mondrian.ico"
+#include "wx/msw/wx.rc"
-#ifdef __UNIX__
+#if defined(__UNIX__) || wxUSE_XPM_IN_MSW
#include "bitmaps/preview.xpm"
#include "bitmaps/close.xpm"
#include "bitmaps/save.xpm"
#include "bitmaps/used.xpm"
#endif
+#if defined(__WXMSW__) && defined(wxUSE_XPM_IN_MSW)
+#undef wxBITMAP
+#define wxBITMAP(arg) wxBitmap(arg##_xpm)
+#undef wxICON
+#define wxICON(arg) wxIcon(arg##_xpm)
+#endif
EditorFrame *EditorFrame::ms_Instance = NULL;
// Create toolbar:
wxToolBar *toolBar = CreateToolBar(wxNO_BORDER | wxTB_HORIZONTAL | wxTB_FLAT);
+#ifdef __WXMSW__
+ toolBar->SetToolBitmapSize(wxSize(24, 24));
+#endif
toolBar->SetMargins(2, 2);
toolBar -> AddTool(ID_EXIT, wxBITMAP(close), wxNullBitmap,
FALSE, -1, -1, (wxObject *) NULL,
class wxXmlNode;
-class wxTreeCtrl;
-class wxScrolledWindow;
-class wxSplitterWindow;
+class WXDLLEXPORT wxTreeCtrl;
+class WXDLLEXPORT wxScrolledWindow;
+class WXDLLEXPORT wxSplitterWindow;
#include "wx/frame.h"
-
-
+#include "wx/treectrl.h"
+#include "wx/imaglist.h"
+#include "wx/listctrl.h"
class NodeHandler;
class wxXmlNode;
--- /dev/null
+#
+# File: makefile.b32
+# Author: Julian Smart
+# Created: 1999
+# Updated:
+# Copyright:
+#
+# Makefile : Builds wxrcedit for 32-bit BC++
+
+WXDIR = $(WXWIN)
+
+TARGET=wxrcedit
+EXTRALIBS=$(WXDIR)\lib\wxxml.lib
+OBJECTS=edapp.obj editor.obj nodehnd.obj prophnd.obj xmlhelpr.obj
+
+!include $(WXDIR)\src\makeprog.b32
+
--- /dev/null
+#
+# File: makefile.g95
+# Author: Julian Smart
+# Created: 1999
+# Updated:
+# Copyright: (c) Julian Smart, 1999
+#
+# Makefile for wxrc (Cygwin/Mingw32).
+
+WXDIR = ../../..
+
+TARGET=wxrcedit
+EXTRALIBS=-lwxxml
+OBJECTS = edapp.o editor.o nodehnd.o prophnd.o xmlhelpr.o
+include $(WXDIR)/src/makeprog.g95
+
--- /dev/null
+#
+# File: makefile.vc
+# Author: Julian Smart
+# Created: 2000
+# Updated:
+# Copyright: (c) Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile : Builds wxrcedit
+# Use FINAL=1 argument to nmake to build final version with no debugging
+# info
+# Set WXDIR for your system
+WXDIR = $(WXWIN)
+
+PROGRAM=wxrcedit
+
+FINAL=0
+
+!if "$(FINAL)" == "0"
+EXTRALIBS=$(WXDIR)\lib\wxxmld.lib
+!else
+EXTRALIBS=$(WXDIR)\lib\wxxml.lib
+!endif
+
+OBJECTS=edapp.obj editor.obj nodehnd.obj prophnd.obj xmlhelpr.obj
+
+!include $(WXDIR)\src\makeprog.vc
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = wxrcedit
+EXTRALIBS = $(WXDIR)\lib\wxxml.lib
+OBJECTS = edapp.obj editor.obj nodehnd.obj prophnd.obj xmlhelpr.obj
+
+!include $(WXDIR)\src\makeprog.wat
+
--- /dev/null
+mondrian ICON "mondrian.ico"
+#include "wx/msw/wx.rc"
contrib/samples/ogl/studio/StudioVC.dsp
contrib/samples/ogl/studio/StudioVC.dsw
+contrib/src/xml/wxXMLVC.dsp
+contrib/src/xml/wxXMLVC.dsw
+
+contrib/samples/ogl/ogledit/OgleditVC.dsp
+
contrib/src/mmedia/MmediaVC.dsp
contrib/src/mmedia/MMediaVC.dsw
contrib/samples/stc/StcTestVC.dsp
contrib/samples/stc/StcTestVC.dsw
+contrib/utils/wxrc/wxrcVC.dsp
+contrib/utils/wxrc/wxrcVC.dsw
+
--- /dev/null
+contrib/docs/html/xml/*.htm
+contrib/docs/html/xml/*.gif
+contrib/docs/html/xml/*.png
+contrib/docs/winhelp/xml.hlp
+contrib/docs/winhelp/xml.cnt
+contrib/docs/pdf/xml.pdf
+
+contrib/docs/latex/xml/*.tex
+contrib/docs/latex/xml/*.sty
+contrib/docs/latex/xml/*.bib
+contrib/docs/latex/xml/*.hpj
+contrib/docs/latex/xml/*.ini
+contrib/docs/latex/xml/*.txt
+contrib/docs/latex/xml/*.cnt
+contrib/docs/latex/xml/*.eps
+contrib/docs/latex/xml/*.bmp
+contrib/docs/latex/xml/*.gif
+contrib/docs/latex/xml/*.wmf
+
+contrib/src/xml/*.cpp
+contrib/src/xml/*.h
+contrib/src/xml/*.rc
+contrib/src/xml/*.def
+contrib/src/xml/*.xbm
+contrib/src/xml/*.xpm
+contrib/src/xml/makefile.vc
+contrib/src/xml/makefile.bcc
+contrib/src/xml/makefile.b32
+contrib/src/xml/makefile.wat
+contrib/src/xml/makefile.g95
+contrib/src/xml/makefile.unx
+contrib/src/xml/makefile.dos
+contrib/src/xml/makefile.vms
+contrib/src/xml/Makefile.in
+contrib/src/xml/*.txt
+contrib/src/xml/*.ico
+contrib/src/xml/*.bmp
+
+contrib/include/wx/xml/*.h
+
+contrib/utils/wxrc/*.cpp
+contrib/utils/wxrc/*.h
+contrib/utils/wxrc/*.rc
+contrib/utils/wxrc/*.def
+contrib/utils/wxrc/*.xbm
+contrib/utils/wxrc/makefile.vc
+contrib/utils/wxrc/makefile.bcc
+contrib/utils/wxrc/makefile.b32
+contrib/utils/wxrc/makefile.wat
+contrib/utils/wxrc/makefile.g95
+contrib/utils/wxrc/makefile.unx
+contrib/utils/wxrc/makefile.dos
+contrib/utils/wxrc/makefile.vms
+contrib/utils/wxrc/Makefile.in
+contrib/utils/wxrc/*.txt
+contrib/utils/wxrc/*.ico
+contrib/utils/wxrc/*.bmp
+contrib/utils/wxrc/*.xpm
+contrib/utils/wxrc/wxrcVC.dsp
+contrib/utils/wxrc/wxrcVC.dsw
+
+contrib/utils/wxrcedit/*.cpp
+contrib/utils/wxrcedit/*.h
+contrib/utils/wxrcedit/*.rc
+contrib/utils/wxrcedit/*.def
+contrib/utils/wxrcedit/*.xbm
+contrib/utils/wxrcedit/makefile.vc
+contrib/utils/wxrcedit/makefile.bcc
+contrib/utils/wxrcedit/makefile.b32
+contrib/utils/wxrcedit/makefile.wat
+contrib/utils/wxrcedit/makefile.g95
+contrib/utils/wxrcedit/makefile.unx
+contrib/utils/wxrcedit/makefile.dos
+contrib/utils/wxrcedit/makefile.vms
+contrib/utils/wxrcedit/Makefile.in
+contrib/utils/wxrcedit/wxrcEditVC.dsp
+contrib/utils/wxrcedit/wxrcEditVC.dsw
+contrib/utils/wxrcedit/*.txt
+contrib/utils/wxrcedit/*.ico
+contrib/utils/wxrcedit/*.bmp
+contrib/utils/wxrcedit/*.xpm
+contrib/utils/wxrcedit/bitmaps/*.bmp
+contrib/utils/wxrcedit/bitmaps/*.ico
+contrib/utils/wxrcedit/bitmaps/*.xpm
+contrib/utils/wxrcedit/df/*.df
+
+distrib/msw/xml.rsp
+distrib/msw/zipxml.bat
+
+
# End Source File
# Begin Source File
+SOURCE=.\common\cmdline.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\cmndata.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\cmdline.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\cmndata.cpp
# End Source File
# Begin Source File
--- /dev/null
+#
+# File: makefile.b32
+# Author: Julian Smart
+# Created: 1999
+# Updated:
+# Copyright:
+#
+# Makefile : Builds wxrc for 32-bit BC++
+
+WXDIR = $(WXWIN)
+
+TARGET=wxrc
+EXTRALIBS=$(WXDIR)\lib\wxxml.lib
+OBJECTS = $(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.b32
+
--- /dev/null
+#
+# File: makefile.g95
+# Author: Julian Smart
+# Created: 1999
+# Updated:
+# Copyright: (c) Julian Smart, 1999
+#
+# Makefile for wxrc (Cygwin/Mingw32).
+
+WXDIR = ../../..
+
+TARGET=wxrc
+EXTRALIBS=-lwxxml
+OBJECTS = $(TARGET).o
+
+include $(WXDIR)/src/makeprog.g95
+
--- /dev/null
+#
+# File: makefile.vc
+# Author: Julian Smart
+# Created: 2000
+# Updated:
+# Copyright: (c) Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile : Builds wxrc (XML resource compiler)
+# Use FINAL=1 argument to nmake to build final version with no debugging
+# info
+# Set WXDIR for your system
+WXDIR = $(WXWIN)
+
+PROGRAM=wxrc
+
+FINAL=0
+
+!if "$(FINAL)" == "0"
+EXTRALIBS=$(WXDIR)\lib\wxxmld.lib
+!else
+EXTRALIBS=$(WXDIR)\lib\wxxml.lib
+!endif
+
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.vc
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = wxrc
+EXTRALIBS = $(WXDIR)\lib\wxxml.lib
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
#include "wx/xml/xml.h"
#include "wx/ffile.h"
-
+/*
#if wxUSE_GUI
#error "You must compile the resource compiler with wxBase!"
#endif
-
+*/
class XmlResApp : public wxApp
{
public:
+
+#if wxUSE_GUI
+ bool OnInit();
+#else
virtual int OnRun();
+#endif
private:
IMPLEMENT_APP(XmlResApp)
+#if wxUSE_GUI
+bool XmlResApp::OnInit()
+#else
int XmlResApp::OnRun()
+#endif
{
static const wxCmdLineEntryDesc cmdLineDesc[] =
{
retCode = 0;
ParseParams(parser);
CompileRes();
+#if wxUSE_GUI
+ return FALSE;
+#else
return retCode;
+#endif
break;
default:
+#if wxUSE_GUI
+ return FALSE;
+#else
return 1;
+#endif
break;
}
}
--- /dev/null
+mondrian ICON "mondrian.ico"
+#include "wx/msw/wx.rc"