summaryrefslogtreecommitdiffstats
path: root/Project/Element.cpp
diff options
context:
space:
mode:
authorThales Lima <thaleslima.ufu@gmail.com>2017-10-21 11:57:45 -0200
committerThales Lima <thaleslima.ufu@gmail.com>2017-10-21 11:57:45 -0200
commitb1b026397c58c45c46ca7a525fb1e98b20ddfab8 (patch)
tree224130696322c70d8296119603b36b7fcee3cc25 /Project/Element.cpp
parentf6a410c1c23bb0cf75d218354cb1f7e21c420fb3 (diff)
downloadPSP.git-b1b026397c58c45c46ca7a525fb1e98b20ddfab8.tar.gz
PSP.git-b1b026397c58c45c46ca7a525fb1e98b20ddfab8.tar.xz
PSP.git-b1b026397c58c45c46ca7a525fb1e98b20ddfab8.zip
Several changes and bugfixes to compile the program on linux (ubuntu-xenial-amb64)
Diffstat (limited to 'Project/Element.cpp')
-rw-r--r--Project/Element.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Project/Element.cpp b/Project/Element.cpp
index 27bcfb5..6c2cbe9 100644
--- a/Project/Element.cpp
+++ b/Project/Element.cpp
@@ -248,15 +248,15 @@ void Element::GeneralMenuItens(wxMenu& menu)
wxString exePath = exeFileName.GetPath();
wxMenuItem* clockItem = new wxMenuItem(&menu, ID_ROTATE_CLOCK, _("Rotate clockwise"));
- clockItem->SetBitmap(wxImage(exePath + "\\..\\data\\images\\menu\\rotateClock16.png"));
+ clockItem->SetBitmap(wxImage(exePath + wxFileName::DirName("\\..\\data\\images\\menu\\rotateClock16.png", wxPATH_WIN).GetPath()));
menu.Append(clockItem);
wxMenuItem* counterClockItem = new wxMenuItem(&menu, ID_ROTATE_COUNTERCLOCK, _("Rotate counter-clockwise"));
- counterClockItem->SetBitmap(wxImage(exePath + "\\..\\data\\images\\menu\\rotateCounterClock16.png"));
+ counterClockItem->SetBitmap(wxImage(exePath + wxFileName::DirName("\\..\\data\\images\\menu\\rotateCounterClock16.png", wxPATH_WIN).GetPath()));
menu.Append(counterClockItem);
wxMenuItem* deleteItem = new wxMenuItem(&menu, ID_DELETE, _("Delete"));
- deleteItem->SetBitmap(wxImage(exePath + "\\..\\data\\images\\menu\\delete16.png"));
+ deleteItem->SetBitmap(wxImage(exePath + wxFileName::DirName("\\..\\data\\images\\menu\\delete16.png", wxPATH_WIN).GetPath()));
menu.Append(deleteItem);
}