summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/WatchWindow.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-12-19 11:34:01 +0100
committerJosJuice <josjuice@gmail.com>2016-01-05 19:11:58 +0100
commit81466d7fa3bd3fdbb4f00039342d878c4dc8aad7 (patch)
treeca35f489a1aeebb313490cbf0d610ca2430e1268 /Source/Core/DolphinWX/Debugger/WatchWindow.cpp
parent460cef492a5b18dae8e9701ecbd324331b2929e3 (diff)
DolphinWX: Stop using XPM images
Using the XPM format for images has become a maintenance problem because people don't know how to create them. This commit removes all XPM images and all C files that contain PNG images. DolphinWX now uses the PNGs in the Resources folder instead, just like DolphinQt and DolphinQt2 do.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/WatchWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/WatchWindow.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/Debugger/WatchWindow.cpp b/Source/Core/DolphinWX/Debugger/WatchWindow.cpp
index bda75cc71e..6e6be9bfde 100644
--- a/Source/Core/DolphinWX/Debugger/WatchWindow.cpp
+++ b/Source/Core/DolphinWX/Debugger/WatchWindow.cpp
@@ -16,10 +16,6 @@
#include "DolphinWX/Debugger/WatchView.h"
#include "DolphinWX/Debugger/WatchWindow.h"
-extern "C" {
-#include "DolphinWX/resources/toolbar_debugger_delete.c"
-}
-
class CWatchToolbar : public wxAuiToolBar
{
public:
@@ -29,7 +25,7 @@ CWatchToolbar(CWatchWindow* parent, const wxWindowID id)
{
SetToolBitmapSize(wxSize(16, 16));
- m_Bitmaps[Toolbar_File] = wxBitmap(wxGetBitmapFromMemory(toolbar_delete_png).ConvertToImage().Rescale(16, 16));
+ m_Bitmaps[Toolbar_File] = WxUtils::LoadResourceBitmap("toolbar_debugger_delete");
AddTool(ID_LOAD, _("Load"), m_Bitmaps[Toolbar_File]);
Bind(wxEVT_TOOL, &CWatchWindow::Event_LoadAll, parent, ID_LOAD);