X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64a3ee5fd2926c3e5341af2e4d62925fddb90c43..8a693e6e0460b6b3c32e4b6f114a3ab7b7cd24ea:/contrib/src/stc/PlatWX.cpp diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index 0fc480d806..0dbd3d5ea7 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -4,7 +4,6 @@ // Robin Dunn // The License.txt file describes the conditions under which this software may be distributed. -#include #include "Platform.h" #include "wx/stc/stc.h" @@ -182,14 +181,7 @@ void Surface::BrushColor(Colour back) { } void Surface::SetFont(Font &font_) { - - // I think the following check is valid. - // It eliminates a crash for me. -- eric@sourcegear.com - - if (font_.GetID()) - { - hdc->SetFont(*font_.GetID()); - } + hdc->SetFont(*font_.GetID()); } int Surface::LogPixelsY() { @@ -352,11 +344,7 @@ void Surface::SetClip(PRectangle rc) { hdc->SetClippingRegion(wxRectFromPRectangle(rc)); } -void Surface::FlushCachedState() { - // TODO Is there anything we need to do here? eric@sourcegear.com - // TODO I had to add this method when I merged new Scintilla code - // TODO from Neil. -} + Window::~Window() { }