git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34098
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
EditorToolPalette *MyApp::CreatePalette(wxFrame *parent)
{
EditorToolPalette *MyApp::CreatePalette(wxFrame *parent)
{
- // Load palette bitmaps. MSW-specific bitmaps no
- // longer needed.
-#if 0
- wxBitmap PaletteTool1(_T("TOOL1"));
- wxBitmap PaletteTool2(_T("TOOL2"));
- wxBitmap PaletteTool3(_T("TOOL3"));
- wxBitmap PaletteTool4(_T("TOOL4"));
- wxBitmap PaletteArrow(_T("ARROWTOOL"));
-#else
+ // Load palette bitmaps.
wxBitmap PaletteTool1(tool1_xpm);
wxBitmap PaletteTool2(tool2_xpm);
wxBitmap PaletteTool3(tool3_xpm);
wxBitmap PaletteTool4(tool4_xpm);
wxBitmap PaletteArrow(arrow_xpm);
wxBitmap PaletteTool1(tool1_xpm);
wxBitmap PaletteTool2(tool2_xpm);
wxBitmap PaletteTool3(tool3_xpm);
wxBitmap PaletteTool4(tool4_xpm);
wxBitmap PaletteArrow(arrow_xpm);
EditorToolPalette *palette = new EditorToolPalette(parent, wxPoint(0, 0), wxDefaultSize,
wxTB_VERTICAL);
EditorToolPalette *palette = new EditorToolPalette(parent, wxPoint(0, 0), wxDefaultSize,
wxTB_VERTICAL);