Remove extra elements in #endif directives

This commit is contained in:
David Capello 2014-04-19 21:03:20 -03:00
parent bc3d3e9413
commit bf03d10b03
2 changed files with 3 additions and 3 deletions

View File

@ -374,7 +374,7 @@ public:
#if WIN32 #if WIN32
subclass_hwnd((HWND)nativeHandle()); subclass_hwnd((HWND)nativeHandle());
#endif WIN32 #endif
} }
~Alleg4Display() { ~Alleg4Display() {
@ -382,7 +382,7 @@ public:
#if WIN32 #if WIN32
unsubclass_hwnd((HWND)nativeHandle()); unsubclass_hwnd((HWND)nativeHandle());
#endif WIN32 #endif
m_surface->dispose(); m_surface->dispose();
set_gfx_mode(GFX_TEXT, 0, 0, 0, 0); set_gfx_mode(GFX_TEXT, 0, 0, 0, 0);

View File

@ -973,7 +973,7 @@ bool Widget::paintEvent(Graphics* graphics)
// In debug mode we can fill the area with Red so we know if the // In debug mode we can fill the area with Red so we know if the
// we are drawing the parent correctly. // we are drawing the parent correctly.
graphics->fillRect(ui::rgba(255, 0, 0), getClientBounds()); graphics->fillRect(ui::rgba(255, 0, 0), getClientBounds());
#endif _DEBUG #endif
this->flags |= JI_HIDDEN; this->flags |= JI_HIDDEN;