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,