WIN32 compilation of wxrc, wxrcedit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-07-26 12:40:49 +00:00
parent 1126585b76
commit 031dfec8d4
26 changed files with 393 additions and 10 deletions

View File

@@ -104,7 +104,7 @@ END_EVENT_TABLE()
#ifdef __UNIX__
#if defined(__UNIX__) || wxUSE_XPM_IN_MSW
#include "bitmaps/preview.xpm"
#include "bitmaps/close.xpm"
#include "bitmaps/save.xpm"
@@ -119,6 +119,12 @@ END_EVENT_TABLE()
#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;
@@ -164,6 +170,9 @@ EditorFrame::EditorFrame(wxFrame *parent, const wxString& filename)
// 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,

View File

@@ -16,13 +16,14 @@
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;

View File

@@ -0,0 +1,17 @@
#
# 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

View File

@@ -0,0 +1,16 @@
#
# 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

View File

@@ -0,0 +1,29 @@
#
# 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

View File

@@ -0,0 +1,13 @@
#
# 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

View File

@@ -0,0 +1,2 @@
mondrian ICON "mondrian.ico"
#include "wx/msw/wx.rc"