Skip to content

Commit d90e3ea

Browse files
numberZerosfan5
authored andcommittedNov 11, 2018
Drop .NET-specific workaround: _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX
1 parent 6c42ebf commit d90e3ea

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed
 

Diff for: ‎src/gui/guiEditBoxWithScrollbar.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ void GUIEditBoxWithScrollBar::enableOverrideColor(bool enable)
148148

149149
bool GUIEditBoxWithScrollBar::isOverrideColorEnabled() const
150150
{
151-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
152151
return m_override_color_enabled;
153152
}
154153

@@ -174,7 +173,6 @@ void GUIEditBoxWithScrollBar::updateAbsolutePosition()
174173
//! Checks if word wrap is enabled
175174
bool GUIEditBoxWithScrollBar::isWordWrapEnabled() const
176175
{
177-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
178176
return m_word_wrap;
179177
}
180178

@@ -189,7 +187,6 @@ void GUIEditBoxWithScrollBar::setMultiLine(bool enable)
189187
//! Checks if multi line editing is enabled
190188
bool GUIEditBoxWithScrollBar::isMultiLineEnabled() const
191189
{
192-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
193190
return m_multiline;
194191
}
195192

@@ -208,7 +205,6 @@ void GUIEditBoxWithScrollBar::setPasswordBox(bool password_box, wchar_t password
208205

209206
bool GUIEditBoxWithScrollBar::isPasswordBox() const
210207
{
211-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
212208
return m_passwordbox;
213209
}
214210

@@ -866,7 +862,6 @@ void GUIEditBoxWithScrollBar::setAutoScroll(bool enable)
866862
//! \return true if automatic scrolling is enabled, false if not
867863
bool GUIEditBoxWithScrollBar::isAutoScrollEnabled() const
868864
{
869-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
870865
return m_autoscroll;
871866
}
872867

Diff for: ‎src/gui/intlGUIEditBox.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ void intlGUIEditBox::enableOverrideColor(bool enable)
182182

183183
bool intlGUIEditBox::isOverrideColorEnabled() const
184184
{
185-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
186185
return OverrideColorEnabled;
187186
}
188187

@@ -208,7 +207,6 @@ void intlGUIEditBox::updateAbsolutePosition()
208207
//! Checks if word wrap is enabled
209208
bool intlGUIEditBox::isWordWrapEnabled() const
210209
{
211-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
212210
return WordWrap;
213211
}
214212

@@ -223,7 +221,6 @@ void intlGUIEditBox::setMultiLine(bool enable)
223221
//! Checks if multi line editing is enabled
224222
bool intlGUIEditBox::isMultiLineEnabled() const
225223
{
226-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
227224
return MultiLine;
228225
}
229226

@@ -243,7 +240,6 @@ void intlGUIEditBox::setPasswordBox(bool passwordBox, wchar_t passwordChar)
243240

244241
bool intlGUIEditBox::isPasswordBox() const
245242
{
246-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
247243
return PasswordBox;
248244
}
249245

@@ -980,7 +976,6 @@ void intlGUIEditBox::setAutoScroll(bool enable)
980976
//! \return true if automatic scrolling is enabled, false if not
981977
bool intlGUIEditBox::isAutoScrollEnabled() const
982978
{
983-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
984979
return AutoScroll;
985980
}
986981

Diff for: ‎src/irrlicht_changes/static_text.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
#if USE_FREETYPE
1616
#include "CGUITTFont.h"
1717
#endif
18-
#ifndef _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX
19-
// newer Irrlicht versions no longer have this
20-
#define _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX
21-
#endif
2218

2319
#include "util/string.h"
2420

@@ -236,7 +232,6 @@ video::SColor StaticText::getBackgroundColor() const
236232
//! Checks if background drawing is enabled
237233
bool StaticText::isDrawBackgroundEnabled() const
238234
{
239-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
240235
return Background;
241236
}
242237

@@ -251,7 +246,6 @@ void StaticText::setDrawBorder(bool draw)
251246
//! Checks if border drawing is enabled
252247
bool StaticText::isDrawBorderEnabled() const
253248
{
254-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
255249
return Border;
256250
}
257251

@@ -295,7 +289,6 @@ void StaticText::enableOverrideColor(bool enable)
295289

296290
bool StaticText::isOverrideColorEnabled() const
297291
{
298-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
299292
return OverrideColorEnabled;
300293
}
301294

@@ -311,7 +304,6 @@ void StaticText::setWordWrap(bool enable)
311304

312305
bool StaticText::isWordWrapEnabled() const
313306
{
314-
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
315307
return WordWrap;
316308
}
317309

0 commit comments

Comments
 (0)
Please sign in to comment.