Replace std::string by gd::String in GDIDE

This commit is contained in:
Victor Levasseur
2015-07-05 22:55:12 +02:00
parent cd34686ad5
commit 346bfd48a2
48 changed files with 306 additions and 315 deletions

View File

@@ -47,7 +47,7 @@ public:
gd::Project & game;
gd::Layout & scene;
std::string instructionType; ///< The type of the selected instruction
gd::String instructionType; ///< The type of the selected instruction
vector < gd::Expression > Param; ///< The value of the parameters
bool isInverted; ///< True if the condition is inverted
@@ -116,12 +116,12 @@ private:
* \brief Find & Select the instruction in the tree, in the children of the specified item.
* \return true if th instruction was found and selected.
*/
bool SelectInstruction(const std::string &type, wxTreeItemId parent);
bool SelectInstruction(const gd::String &type, wxTreeItemId parent);
wxTreeItemId GetGroupItem(wxTreeCtrl * treeCtrl, wxTreeItemId parent, gd::String groupStr, bool insertIfNotExist = true);
const bool editingAction; ///< True if an action is being edited, false if it's a condition.
wxImageList * imageList;
std::string selectedObject;
gd::String selectedObject;
DECLARE_EVENT_TABLE()
};