~quadrispro/codelite/trunk

« back to all changes in this revision

Viewing changes to Outline/wxcrafter_bitmaps.cpp

  • Committer: eranif
  • Date: 2012-08-03 07:05:48 UTC
  • Revision ID: svn-v4:9da81c78-c036-0410-9e1f-a2b0375e4b5a:trunk:5670
Renamed "SymbolView" plugin to "Outline"

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// This file was automatically generated by wxrc, do not edit by hand.
 
3
//
 
4
 
 
5
#include <wx/wxprec.h>
 
6
 
 
7
#ifdef __BORLANDC__
 
8
    #pragma hdrstop
 
9
#endif
 
10
 
 
11
#include <wx/filesys.h>
 
12
#include <wx/fs_mem.h>
 
13
#include <wx/xrc/xmlres.h>
 
14
#include <wx/xrc/xh_all.h>
 
15
 
 
16
#if wxCHECK_VERSION(2,8,5) && wxABI_VERSION >= 20805
 
17
    #define XRC_ADD_FILE(name, data, size, mime) \
 
18
        wxMemoryFSHandler::AddFileWithMimeType(name, data, size, mime)
 
19
#else
 
20
    #define XRC_ADD_FILE(name, data, size, mime) \
 
21
        wxMemoryFSHandler::AddFile(name, data, size)
 
22
#endif
 
23
 
 
24
static size_t xml_res_size_0 = 51;
 
25
static unsigned char xml_res_file_0[] = {
 
26
60,63,120,109,108,32,118,101,114,115,105,111,110,61,34,49,46,48,34,32,101,
 
27
110,99,111,100,105,110,103,61,34,85,84,70,45,56,34,63,62,10,60,114,101,
 
28
115,111,117,114,99,101,47,62,10};
 
29
 
 
30
void wxC682BInitBitmapResources()
 
31
{
 
32
 
 
33
    // Check for memory FS. If not present, load the handler:
 
34
    {
 
35
        wxMemoryFSHandler::AddFile(wxT("XRC_resource/dummy_file"), wxT("dummy one"));
 
36
        wxFileSystem fsys;
 
37
        wxFSFile *f = fsys.OpenFile(wxT("memory:XRC_resource/dummy_file"));
 
38
        wxMemoryFSHandler::RemoveFile(wxT("XRC_resource/dummy_file"));
 
39
        if (f) delete f;
 
40
        else wxFileSystem::AddHandler(new wxMemoryFSHandler);
 
41
    }
 
42
 
 
43
    XRC_ADD_FILE(wxT("XRC_resource/wxcrafter_bitmaps.cpp$._wxcrafter_bitmaps.xrc"), xml_res_file_0, xml_res_size_0, wxT("text/xml"));
 
44
    wxXmlResource::Get()->Load(wxT("memory:XRC_resource/wxcrafter_bitmaps.cpp$._wxcrafter_bitmaps.xrc"));
 
45
}