Fix compile issue in gcc 4.6
This commit is contained in:
parent
c218f915ba
commit
7d62763c92
|
@ -37,8 +37,8 @@ public:
|
||||||
void updateLater();
|
void updateLater();
|
||||||
|
|
||||||
virtual void applyStyle(const OTMLNodePtr& styleNode) { }
|
virtual void applyStyle(const OTMLNodePtr& styleNode) { }
|
||||||
virtual void addWidget(const UIWidgetPtr& widget) = 0;
|
virtual void addWidget(const UIWidgetPtr& widget) { }
|
||||||
virtual void removeWidget(const UIWidgetPtr& widget) = 0;
|
virtual void removeWidget(const UIWidgetPtr& widget) { }
|
||||||
void disableUpdates() { m_updateDisabled++; }
|
void disableUpdates() { m_updateDisabled++; }
|
||||||
void enableUpdates() { m_updateDisabled = std::max(m_updateDisabled-1,0); }
|
void enableUpdates() { m_updateDisabled = std::max(m_updateDisabled-1,0); }
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ public:
|
||||||
virtual bool isUIGridLayout() { return false; }
|
virtual bool isUIGridLayout() { return false; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual bool internalUpdate() = 0;
|
virtual bool internalUpdate() { }
|
||||||
|
|
||||||
int m_updateDisabled;
|
int m_updateDisabled;
|
||||||
stdext::boolean<false> m_updating;
|
stdext::boolean<false> m_updating;
|
||||||
|
|
Loading…
Reference in New Issue