mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-14 09:41:19 +00:00
Remove extra elements in #endif directives
This commit is contained in:
parent
bc3d3e9413
commit
bf03d10b03
@ -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);
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user