Merge branch 'master' of github.com:4ian/GD

This commit is contained in:
Florian Rival
2015-09-10 12:47:48 +02:00

View File

@@ -10,6 +10,7 @@ This project is released under the MIT License.
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
#include <wx/bitmap.h> //Must be placed first, otherwise we get errors relative to "cannot convert 'const TCHAR*'..." in wx/msw/winundef.h
#include <wx/log.h>
#include <wx/panel.h>
#endif
#include "TileMapObject.h"
@@ -145,6 +146,7 @@ bool TileMapObject::GenerateThumbnail(const gd::Project & project, wxBitmap & th
void TileMapObject::EditObject( wxWindow* parent, gd::Project & game, gd::MainFrameWrapper & mainFrameWrapper )
{
#if !defined(GD_NO_WX_GUI)
wxLogNull logNo;
TileMapObjectEditor dialog(parent, game, *this, mainFrameWrapper);
dialog.ShowModal();
#endif