// Robin Dunn <robin@aldunn.com>
// The License.txt file describes the conditions under which this software may be distributed.
-#include <ctype.h>
#include "Platform.h"
#include "wx/stc/stc.h"
}
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() {
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() {
}