summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/WatchWindow.cpp
diff options
context:
space:
mode:
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);