#include "wx/splitter.h"
#include "wx/config.h"
#include "wx/dir.h"
+#include "wx/listctrl.h"
+#include "wx/imaglist.h"
#include "treedt.h"
#include "editor.h"
#include "bitmaps/vsizer.xpm"
#include "bitmaps/hsizer.xpm"
#include "bitmaps/panel.xpm"
+#include "bitmaps/gsizer.xpm"
+#include "bitmaps/resicon.xpm"
#include "bitmaps/unused.xpm"
#include "bitmaps/used.xpm"
// Create toolbar:
wxToolBar *toolBar = CreateToolBar(wxNO_BORDER | wxTB_HORIZONTAL | wxTB_FLAT);
-#ifdef __WXMSW__
- toolBar->SetToolBitmapSize(wxSize(24, 24));
-#endif
toolBar->SetMargins(2, 2);
+ toolBar->SetToolBitmapSize(wxSize(24, 24));
toolBar -> AddTool(ID_EXIT, wxBITMAP(close), wxNullBitmap,
FALSE, -1, -1, (wxObject *) NULL,
_("Quit the editor"));
m_ImgList->Add(wxICON(panel));
m_ImgList->Add(wxICON(vsizer));
m_ImgList->Add(wxICON(hsizer));
+ m_ImgList->Add(wxICON(gsizer));
+ m_ImgList->Add(wxICON(resicon));
m_TreeCtrl->SetImageList(m_ImgList);
wxXmlNode *sel = m_SelectedNode;
m_TreeCtrl->DeleteAllItems();
- wxTreeItemId root = m_TreeCtrl->AddRoot("Resource: " + m_FileName);
+ wxTreeItemId root = m_TreeCtrl->AddRoot("Resource: " + m_FileName, 5, 5);
wxXmlNode *n = m_Resource->GetRoot()->GetChildren();
while (n)
-mondrian ICON "mondrian.ico"
#include "wx/msw/wx.rc"
+
+close BITMAP bitmaps/close.bmp
+open BITMAP bitmaps/open.bmp
+preview BITMAP bitmaps/preview.bmp
+save BITMAP bitmaps/save.bmp
+
+control ICON bitmaps/control.ico
+hsizer ICON bitmaps/hsizer.ico
+vsizer ICON bitmaps/vsizer.ico
+panel ICON bitmaps/panel.ico
+unused ICON bitmaps/unused.ico
+used ICON bitmaps/used.ico
+resicon ICON bitmaps/resicon.ico
+gsizer ICON bitmaps/gsizer.ico