More fixes for Mac.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@770 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-11-08 04:26:48 +00:00
parent d1ce2232cb
commit a20746422e
4 changed files with 5 additions and 3 deletions
+1
View File
@@ -16,6 +16,7 @@
#include <gfx/gfx.hpp> // for ImageCombine
#include <script/scriptable.hpp>
#include <script/image.hpp>
#include <wx/image.h>
// ----------------------------------------------------------------------------- : ChoiceField
+1 -1
View File
@@ -273,7 +273,7 @@ size_t DropDownChoiceList::selection() const {
}
DropDownList* DropDownChoiceList::createSubMenu(ChoiceField::ChoiceP group) const {
return new DropDownChoiceList(const_cast<DropDownChoiceList*>(this), true, cve, group);
return new DropDownChoiceList(static_cast<Window*>(const_cast<DropDownChoiceList*>(this)), true, cve, group);
}
// ----------------------------------------------------------------------------- : ChoiceValueEditor
+1 -1
View File
@@ -82,7 +82,7 @@ size_t DropDownMultipleChoiceList::selection() const {
}
DropDownList* DropDownMultipleChoiceList::createSubMenu(ChoiceField::ChoiceP group) const {
return new DropDownMultipleChoiceList(const_cast<DropDownMultipleChoiceList*>(this), true, cve, group);
return new DropDownMultipleChoiceList(static_cast<Window*>(const_cast<DropDownMultipleChoiceList*>(this)), true, cve, group);
}
// ----------------------------------------------------------------------------- : MultipleChoiceValueEditor