File: wxfred_xrc.cpp

package info (click to toggle)
freespace2 3.7.0%2Brepack-2
  • links: PTS, VCS
  • area: non-free
  • in suites: jessie, jessie-kfreebsd
  • size: 22,848 kB
  • ctags: 41,897
  • sloc: cpp: 369,931; makefile: 1,060; xml: 129; sh: 112
file content (38 lines) | stat: -rw-r--r-- 727 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * Created by Ian "Goober5000" Warfield for the FreeSpace2 Source Code Project.
 * You may not sell or otherwise commercially exploit the source or things you
 * create based on the source.
 */ 



#include <wx/wxprec.h>

#ifdef __BORLANDC__
    #pragma hdrstop
#endif

#ifndef WX_PRECOMP
	#include <wx/wx.h>
#endif

#include "wxfred_xrc.h"

// Either autogenerate the XRC stuff or load it, depending on the compiler option.
// Note that if the XRC resources are not embedded, the XRC file must be present
// in the folder wxFRED2 is run from.

#ifdef EMBED_XRC_RESOURCES

	#include "wxfred_xrc.inl"

#else

	#include <wx/xrc/xmlres.h>

	void InitXmlResource()
	{
		wxXmlResource::Get()->Load(wxT("wxfred.xrc"));
	}

#endif