mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2946 from dumganhar/develop
Compilation Fixes for WIN32
This commit is contained in:
commit
358cbde2a1
|
@ -46,7 +46,7 @@ enum {
|
|||
/**
|
||||
@brief Base class for Action objects.
|
||||
*/
|
||||
class CC_DLL Action : public Object, public Clonable
|
||||
class CC_DLL Action : public Clonable, public Object
|
||||
{
|
||||
public:
|
||||
Action(void);
|
||||
|
|
|
@ -402,7 +402,7 @@ void Layer::onExit()
|
|||
// remove this layer from the delegates who concern Accelerometer Sensor
|
||||
if (_accelerometerEnabled)
|
||||
{
|
||||
pDirector->getAccelerometer()->setDelegate(NULL);
|
||||
pDirector->getAccelerometer()->setDelegate(nullptr);
|
||||
}
|
||||
|
||||
// remove this layer from the delegates who concern the keypad msg
|
||||
|
|
|
@ -25,6 +25,7 @@ THE SOFTWARE.
|
|||
#define __SUPPORT_ZIPUTILS_H__
|
||||
|
||||
#include <string>
|
||||
#include "platform/CCPlatformConfig.h"
|
||||
#include "CCPlatformDefine.h"
|
||||
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
|
||||
|
|
Loading…
Reference in New Issue