]> git.saurik.com Git - wxWidgets.git/commit - samples/render/render.cpp
Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Mar 2012 00:28:58 +0000 (00:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Mar 2012 00:28:58 +0000 (00:28 +0000)
commite7092398891c83b12c84305d8d0206bdbe415fa0
tree5230552001d273d147f433de48f2010ed5aa6ed2
parentb303fca71405a00abc2a136adf3b7c7c42bc9ea9
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
84 files changed:
demos/bombs/bombs.cpp
demos/life/life.cpp
docs/doxygen/mainpages/const_cpp.h
include/wx/gdicmn.h
samples/access/accesstest.cpp
samples/animate/anitest.cpp
samples/artprov/arttest.cpp
samples/caret/caret.cpp
samples/clipboard/clipboard.cpp
samples/collpane/collpane.cpp
samples/combo/combo.cpp
samples/config/conftest.cpp
samples/controls/controls.cpp
samples/dataview/dataview.cpp
samples/debugrpt/debugrpt.cpp
samples/dialup/nettest.cpp
samples/display/display.cpp
samples/dnd/dnd.cpp
samples/docview/docview.cpp
samples/dragimag/dragimag.cpp
samples/drawing/drawing.cpp
samples/erase/erase.cpp
samples/event/event.cpp
samples/except/except.cpp
samples/flash/flash.cpp
samples/fswatcher/fswatcher.cpp
samples/grid/griddemo.cpp
samples/help/demo.cpp
samples/html/about/about.cpp
samples/html/help/help.cpp
samples/html/htmlctrl/htmlctrl.cpp
samples/html/printing/printing.cpp
samples/html/virtual/virtual.cpp
samples/html/zip/zip.cpp
samples/image/image.cpp
samples/internat/internat.cpp
samples/ipc/client.cpp
samples/ipc/server.cpp
samples/joytest/joytest.cpp
samples/keyboard/keyboard.cpp
samples/layout/layout.cpp
samples/listctrl/listtest.cpp
samples/mdi/mdi.cpp
samples/mediaplayer/mediaplayer.cpp
samples/memcheck/memcheck.cpp
samples/menu/menu.cpp
samples/minimal/minimal.cpp
samples/nativdlg/nativdlg.cpp
samples/notebook/notebook.cpp
samples/oleauto/oleauto.cpp
samples/opengl/cube/cube.cpp
samples/popup/popup.cpp
samples/power/power.cpp
samples/printing/printing.cpp
samples/propgrid/propgrid.cpp
samples/render/render.cpp
samples/richtext/richtext.cpp
samples/scroll/scroll.cpp
samples/shaped/shaped.cpp
samples/sockets/client.cpp
samples/sockets/server.cpp
samples/sound/sound.cpp
samples/splash/splash.cpp
samples/splitter/splitter.cpp
samples/statbar/statbar.cpp
samples/stc/stctest.cpp
samples/svg/svgtest.cpp
samples/taborder/taborder.cpp
samples/taskbar/tbtest.cpp
samples/text/text.cpp
samples/toolbar/toolbar.cpp
samples/treectrl/treetest.cpp
samples/treelist/treelist.cpp
samples/typetest/typetest.cpp
samples/uiaction/uiaction.cpp
samples/validate/validate.cpp
samples/vscroll/vstest.cpp
samples/webview/webview.cpp
samples/wrapsizer/wrapsizer.cpp
samples/xrc/myframe.cpp
samples/xti/xti.cpp
utils/emulator/src/emulator.cpp
utils/helpview/src/client.cpp
utils/helpview/src/remhelp.cpp