| 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/xh_all.h> |
| 14 |
#include <wx/xrc/xmlres.h> |
| 15 |
|
| 16 |
#if wxCHECK_VERSION(2, 8, 5) && wxABI_VERSION >= 20805 |
| 17 |
#define XRC_ADD_FILE(name, data, size, mime) wxMemoryFSHandler::AddFileWithMimeType(name, data, size, mime) |
| 18 |
#else |
| 19 |
#define XRC_ADD_FILE(name, data, size, mime) wxMemoryFSHandler::AddFile(name, data, size) |
| 20 |
#endif |
| 21 |
|
| 22 |
static size_t xml_res_size_0 = 137; |
| 23 |
static unsigned char xml_res_file_0[] = { |
| 24 |
60, 63, 120, 109, 108, 32, 118, 101, 114, 115, 105, 111, 110, 61, 34, 49, 46, 48, 34, 32, 101, 110, 99, |
| 25 |
111, 100, 105, 110, 103, 61, 34, 85, 84, 70, 45, 56, 34, 63, 62, 10, 60, 114, 101, 115, 111, 117, 114, |
| 26 |
99, 101, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 120, |
| 27 |
119, 105, 100, 103, 101, 116, 115, 46, 111, 114, 103, 47, 119, 120, 120, 114, 99, 34, 62, 10, 32, 32, 60, |
| 28 |
33, 45, 45, 32, 72, 97, 110, 100, 108, 101, 114, 32, 71, 101, 110, 101, 114, 97, 116, 105, 111, 110, 32, |
| 29 |
105, 115, 32, 79, 78, 32, 45, 45, 62, 10, 60, 47, 114, 101, 115, 111, 117, 114, 99, 101, 62, 10 |
| 30 |
}; |
| 31 |
|
| 32 |
void wxCrafterGgLOZbInitBitmapResources() |
| 33 |
{ |
| 34 |
|
| 35 |
// Check for memory FS. If not present, load the handler: |
| 36 |
{ |
| 37 |
wxMemoryFSHandler::AddFile(wxT("XRC_resource/dummy_file"), wxT("dummy one")); |
| 38 |
wxFileSystem fsys; |
| 39 |
wxFSFile* f = fsys.OpenFile(wxT("memory:XRC_resource/dummy_file")); |
| 40 |
wxMemoryFSHandler::RemoveFile(wxT("XRC_resource/dummy_file")); |
| 41 |
if(f) |
| 42 |
delete f; |
| 43 |
else |
| 44 |
wxFileSystem::AddHandler(new wxMemoryFSHandlerBase); |
| 45 |
} |
| 46 |
|
| 47 |
XRC_ADD_FILE(wxT("XRC_resource/" |
| 48 |
"codeformatterdlg_codeformatter_bitmaps.cpp$C__src_codelite_CodeFormatter_codeformatterdlg_" |
| 49 |
"codeformatter_bitmaps.xrc"), |
| 50 |
xml_res_file_0, xml_res_size_0, wxT("text/xml")); |
| 51 |
wxXmlResource::Get()->Load(wxT("memory:XRC_resource/" |
| 52 |
"codeformatterdlg_codeformatter_bitmaps.cpp$C__src_codelite_CodeFormatter_" |
| 53 |
"codeformatterdlg_codeformatter_bitmaps.xrc")); |
| 54 |
} |