Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks.
Add a special symbol which is defined only if the icons and other images (e.g. cursor) are in the separate resource files and don't need to be embedded as XPMs in the main program. This makes the checks more clear and more customizable as it's enough to change wxHAS_IMAGES_IN_RESOURCES definition instead of changing many platform checks. Closes #14050. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b303fca714
commit
e709239889
@ -29,8 +29,7 @@
|
||||
# include <time.h>
|
||||
#endif
|
||||
|
||||
#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) \
|
||||
|| defined(__WXMAC__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
# include "bombs.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
// resources
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXX11__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
// application icon
|
||||
#include "mondrian.xpm"
|
||||
|
||||
|
@ -214,6 +214,8 @@ Currently the following symbols exist:
|
||||
decide whether some function should be overloaded for both
|
||||
<code>long</code> and <code>long long</code> types.}
|
||||
@itemdef{wxHAS_MULTIPLE_FILEDLG_FILTERS, Defined if wxFileDialog supports multiple ('|'-separated) filters.}
|
||||
@itemdef{wxHAS_IMAGES_IN_RESOURCES, Defined if <a href="http://en.wikipedia.org/wiki/Resource_(Windows)">
|
||||
Windows resource files</a> or OS/2 resource files are available on the current platform.}
|
||||
@itemdef{wxHAS_POWER_EVENTS, Defined if wxPowerEvent are ever generated on the current platform.}
|
||||
@itemdef{wxHAS_RADIO_MENU_ITEMS,
|
||||
Defined if the current port supports radio menu items (see wxMenu::AppendRadioItem).}
|
||||
|
@ -160,14 +160,18 @@ enum wxStockCursor
|
||||
// macros
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
#if defined(__WINDOWS__) || defined(__WXPM__)
|
||||
#define wxHAS_IMAGES_IN_RESOURCES
|
||||
#endif
|
||||
|
||||
/* Useful macro for creating icons portably, for example:
|
||||
|
||||
wxIcon *icon = new wxICON(sample);
|
||||
|
||||
expands into:
|
||||
|
||||
wxIcon *icon = new wxIcon("sample"); // On wxMSW
|
||||
wxIcon *icon = new wxIcon(sample_xpm); // On wxGTK
|
||||
wxIcon *icon = new wxIcon("sample"); // On Windows
|
||||
wxIcon *icon = new wxIcon(sample_xpm); // On wxGTK/Linux
|
||||
*/
|
||||
|
||||
#ifdef __WXMSW__
|
||||
|
@ -59,7 +59,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources)
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the application icon
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "wx/clipbrd.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
#include "wx/fontpicker.h"
|
||||
#include "wx/aboutdlg.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources and even
|
||||
// though we could still include the XPM here it would be unused)
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "wx/log.h"
|
||||
#include "wx/config.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -58,7 +58,7 @@
|
||||
#define EVT_TOGGLEBUTTON EVT_CHECKBOX
|
||||
#endif
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
// resources
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
#error "This sample can't be built without wxUSE_ON_FATAL_EXCEPTION"
|
||||
#endif // wxUSE_ON_FATAL_EXCEPTION
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#include "wx/dialup.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources)
|
||||
#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXX11__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "wx/metafile.h"
|
||||
#include "wx/dirctrl.h"
|
||||
|
||||
#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
#include "dnd_copy.xpm"
|
||||
|
@ -61,7 +61,7 @@
|
||||
#include "wx/filename.h"
|
||||
#endif
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "doc.xpm"
|
||||
#include "chart.xpm"
|
||||
#include "notepad.xpm"
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#include "dragimag.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#include "dragicon.xpm"
|
||||
#endif
|
||||
|
@ -46,7 +46,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the application icon
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the application icon
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources)
|
||||
#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXX11__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "wx/cmdline.h"
|
||||
#include "wx/filename.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
#include "griddemo.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
||||
// ressources
|
||||
// ----------------------------------------------------------------------------
|
||||
// the application icon
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "wx/wxhtml.h"
|
||||
#include "wx/statline.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "wx/filesys.h"
|
||||
#include "wx/fs_zip.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include "wx/html/webkit.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "wx/html/htmlwin.h"
|
||||
#include "wx/html/htmprint.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "wx/html/htmlwin.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "wx/html/htmlwin.h"
|
||||
#include "wx/fs_zip.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
|
||||
#include "canvas.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include "wx/log.h"
|
||||
#include "wx/cmdline.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "wx/datetime.h"
|
||||
#include "client.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
// we're using TCP/IP or real DDE.
|
||||
#include "ipcsetup.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources and even
|
||||
// though we could still include the XPM here it would be unused)
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "layout.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -20,11 +20,11 @@
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "bitmaps/toolbrai.xpm"
|
||||
#include "bitmaps/toolchar.xpm"
|
||||
#include "bitmaps/tooldata.xpm"
|
||||
@ -177,7 +177,7 @@ MyFrame::MyFrame(const wxChar *title)
|
||||
m_imageListNormal = new wxImageList(32, 32, true);
|
||||
m_imageListSmall = new wxImageList(16, 16, true);
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#if wxHAS_IMAGES_IN_RESOURCES
|
||||
m_imageListNormal->Add( wxIcon(wxT("icon1"), wxBITMAP_TYPE_ICO_RESOURCE) );
|
||||
m_imageListNormal->Add( wxIcon(wxT("icon2"), wxBITMAP_TYPE_ICO_RESOURCE) );
|
||||
m_imageListNormal->Add( wxIcon(wxT("icon3"), wxBITMAP_TYPE_ICO_RESOURCE) );
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include "wx/toolbar.h"
|
||||
|
||||
#if !defined(__WXMSW__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#include "chart.xpm"
|
||||
#endif
|
||||
|
@ -78,7 +78,7 @@
|
||||
wxFORCE_LINK_MODULE(wxmediabackend_wmp10)
|
||||
#endif // static wxMSW build
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "wx/datetime.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -59,7 +59,7 @@
|
||||
#include "copy.xpm"
|
||||
#endif
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources and even
|
||||
// though we could still include the XPM here it would be unused)
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#error Sorry, this sample is only appropriate under Windows.
|
||||
#endif
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "wx/utils.h"
|
||||
#include "notebook.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
// ressources
|
||||
// ----------------------------------------------------------------------------
|
||||
// the application icon
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
#include "cube.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources and even
|
||||
// though we could still include the XPM here it would be unused)
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
#include "wx/power.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
|
||||
#include "printing.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -68,7 +68,7 @@
|
||||
|
||||
#include <wx/artprov.h>
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -47,7 +47,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources)
|
||||
#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXX11__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include "wx/cshelp.h"
|
||||
#endif
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "wx/log.h"
|
||||
#include "wx/tglbtn.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include "wx/graphics.h"
|
||||
#include "wx/image.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
// the application icon
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
// the application icon
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources)
|
||||
#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXX11__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources and even
|
||||
// though we could still include the XPM here it would be unused)
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "wx/splitter.h"
|
||||
#include "wx/dcmirror.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include "wx/numdlg.h"
|
||||
#include "wx/fontdlg.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources)
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "bitmaps/help.xpm"
|
||||
#include "SVGlogo24.xpm"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
#include "wx/notebook.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#endif
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources)
|
||||
#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXX11__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include "wx/numdlg.h"
|
||||
#include "wx/tokenzr.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
||||
// resources
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
#include "unchecked.xpm"
|
||||
#include "checked.xpm"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
// Resources
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include "typetest.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources and even
|
||||
// though we could still include the XPM here it would be unused)
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "wx/valtext.h"
|
||||
#include "wx/valnum.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources)
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "wx/filesys.h"
|
||||
#include "wx/fs_arc.h"
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "wx/wrapsizer.h"
|
||||
#include "wx/artprov.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -61,7 +61,7 @@
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources and even
|
||||
// though we could still include the XPM here it would be unused)
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -58,7 +58,7 @@
|
||||
// resources
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the application icon (under Windows and OS/2 it is in resources)
|
||||
#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXX11__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "emulator.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
//#define wxUSE_DDE_FOR_IPC 0
|
||||
#include <wx/ipc.h>
|
||||
|
||||
#if defined(__WXGTK__) || defined(__WXMOTIF__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "mondrian.xpm"
|
||||
#endif
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
//#include "ddesetup.h"
|
||||
//#define wxUSE_DDE_FOR_IPC 0
|
||||
|
||||
#if defined(__WXGTK__) || defined(__WXMOTIF__)
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "mondrian.xpm"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user