summaryrefslogtreecommitdiff
path: root/ui/msg_popup.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:10:11 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:10:11 +0200
commitc0cdb2ad99a1e2a6ade5ce76c91177a79258e669 (patch)
tree4701a015385d9a6a5a4ba99a8f1f5d400fff26b1 /ui/msg_popup.cpp
parent3.13 (diff)
downloadFreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.gz
FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.bz2
FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.zip
3.14
Diffstat (limited to 'ui/msg_popup.cpp')
-rw-r--r--ui/msg_popup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/msg_popup.cpp b/ui/msg_popup.cpp
index 0b6d3584..3dff49d2 100644
--- a/ui/msg_popup.cpp
+++ b/ui/msg_popup.cpp
@@ -6,7 +6,7 @@
//
#include "msg_popup.h"
#include "../library/resources.h"
-#include "mouse_move_dlg.h"
+#include "../shared/mouse_move_dlg.h"
ErrorDlg::ErrorDlg(wxWindow* parentWindow, const int activeButtons, const wxString messageText, bool& ignoreNextErrors) :
@@ -18,7 +18,7 @@ ErrorDlg::ErrorDlg(wxWindow* parentWindow, const int activeButtons, const wxStri
this, m_bitmap10); //ownership passed to "this"
#endif
- m_bitmap10->SetBitmap(GlobalResources::getInstance().getImageByName(wxT("error")));
+ m_bitmap10->SetBitmap(GlobalResources::instance().getImage(wxT("error")));
m_textCtrl8->SetValue(messageText);
m_checkBoxIgnoreErrors->SetValue(ignoreNextErrors);
@@ -82,7 +82,7 @@ WarningDlg::WarningDlg(wxWindow* parentWindow, int activeButtons, const wxStrin
this, m_bitmap10); //ownership passed to "this"
#endif
- m_bitmap10->SetBitmap(GlobalResources::getInstance().getImageByName(wxT("warning")));
+ m_bitmap10->SetBitmap(GlobalResources::instance().getImage(wxT("warning")));
m_textCtrl8->SetValue(messageText);
m_checkBoxDontShowAgain->SetValue(dontShowAgain);
@@ -144,7 +144,7 @@ QuestionDlg::QuestionDlg(wxWindow* parentWindow, int activeButtons, const wxStri
this, m_bitmap10); //ownership passed to "this"
#endif
- m_bitmap10->SetBitmap(GlobalResources::getInstance().getImageByName(wxT("question")));
+ m_bitmap10->SetBitmap(GlobalResources::instance().getImage(wxT("question")));
m_textCtrl8->SetValue(messageText);
if (dontShowAgain)
m_checkBoxDontAskAgain->SetValue(*dontShowAgain);
bgstack15