summaryrefslogtreecommitdiffstats
path: root/Project/wxcrafter_bitmaps.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2016-07-27 16:16:29 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2016-07-27 16:16:29 -0300
commit2bfb6cffd86cb771918dde12e10704384d534714 (patch)
tree4a0a9f9ae899c2f5f536208c495fdc0ee4f58346 /Project/wxcrafter_bitmaps.cpp
parentb23b552bac7a5c5a5e934ab3181180877bf93a72 (diff)
downloadPSP.git-2bfb6cffd86cb771918dde12e10704384d534714.tar.gz
PSP.git-2bfb6cffd86cb771918dde12e10704384d534714.tar.xz
PSP.git-2bfb6cffd86cb771918dde12e10704384d534714.zip
Projeto base
nenhum código implementado ainda.
Diffstat (limited to 'Project/wxcrafter_bitmaps.cpp')
-rw-r--r--Project/wxcrafter_bitmaps.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/Project/wxcrafter_bitmaps.cpp b/Project/wxcrafter_bitmaps.cpp
new file mode 100644
index 0000000..e5fb8f6
--- /dev/null
+++ b/Project/wxcrafter_bitmaps.cpp
@@ -0,0 +1,45 @@
+//
+// This file was automatically generated by wxrc, do not edit by hand.
+//
+
+#include <wx/wxprec.h>
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#include <wx/filesys.h>
+#include <wx/fs_mem.h>
+#include <wx/xrc/xmlres.h>
+#include <wx/xrc/xh_all.h>
+
+#if wxCHECK_VERSION(2,8,5) && wxABI_VERSION >= 20805
+ #define XRC_ADD_FILE(name, data, size, mime) \
+ wxMemoryFSHandler::AddFileWithMimeType(name, data, size, mime)
+#else
+ #define XRC_ADD_FILE(name, data, size, mime) \
+ wxMemoryFSHandler::AddFile(name, data, size)
+#endif
+
+static size_t xml_res_size_0 = 51;
+static unsigned char xml_res_file_0[] = {
+60,63,120,109,108,32,118,101,114,115,105,111,110,61,34,49,46,48,34,32,101,
+110,99,111,100,105,110,103,61,34,85,84,70,45,56,34,63,62,10,60,114,101,
+115,111,117,114,99,101,47,62,10};
+
+void wxC9ED9InitBitmapResources()
+{
+
+ // Check for memory FS. If not present, load the handler:
+ {
+ wxMemoryFSHandler::AddFile(wxT("XRC_resource/dummy_file"), wxT("dummy one"));
+ wxFileSystem fsys;
+ wxFSFile *f = fsys.OpenFile(wxT("memory:XRC_resource/dummy_file"));
+ wxMemoryFSHandler::RemoveFile(wxT("XRC_resource/dummy_file"));
+ if (f) delete f;
+ else wxFileSystem::AddHandler(new wxMemoryFSHandler);
+ }
+
+ XRC_ADD_FILE(wxT("XRC_resource/wxcrafter_bitmaps.cpp$._wxcrafter_bitmaps.xrc"), xml_res_file_0, xml_res_size_0, wxT("text/xml"));
+ wxXmlResource::Get()->Load(wxT("memory:XRC_resource/wxcrafter_bitmaps.cpp$._wxcrafter_bitmaps.xrc"));
+}