summaryrefslogtreecommitdiff
path: root/LiteEditor/WelcomePage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LiteEditor/WelcomePage.cpp')
-rw-r--r--LiteEditor/WelcomePage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/LiteEditor/WelcomePage.cpp b/LiteEditor/WelcomePage.cpp
index 8ca7d616..b88c4b32 100644
--- a/LiteEditor/WelcomePage.cpp
+++ b/LiteEditor/WelcomePage.cpp
@@ -1,7 +1,7 @@
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//
-// copyright : (C) 2014 The CodeLite Team
+// copyright : (C) 2014 Eran Ifrah
// file name : WelcomePage.cpp
//
// -------------------------------------------------------------------------
@@ -34,6 +34,7 @@
#include "event_notifier.h"
#include "plugin.h"
#include "editor_config.h"
+#include "pluginmanager.h"
WelcomePage::WelcomePage(wxWindow* parent)
: WelcomePageBase(parent)
@@ -63,7 +64,7 @@ void WelcomePage::OnOpenWiki(wxCommandEvent& event)
void WelcomePage::OnSize(wxSizeEvent& event)
{
event.Skip();
- m_staticBitmap161->Refresh();
+ m_staticBitmap->Refresh();
}
void WelcomePage::OnShowFileseMenu(wxCommandEvent& event)
@@ -107,8 +108,7 @@ void WelcomePage::OnShowWorkspaceMenu(wxCommandEvent& event)
int
WelcomePage::DoGetPopupMenuSelection(wxCommandLinkButton* btn, const wxArrayString& strings, const wxString& menuTitle)
{
- BitmapLoader bl;
- BitmapLoader::BitmapMap_t bmps = bl.MakeStandardMimeMap();
+ BitmapLoader::BitmapMap_t bmps = PluginManager::Get()->GetStdIcons()->MakeStandardMimeMap();
m_idToName.clear();
wxUnusedVar(menuTitle);