mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Updated for compatibility.
Problem: In src/gui/control/keyword_list.cpp and src/render/text/element.cpp, there are two characters that I cannot identify. I can't make it work, I just get the error "Invalid multibyte character. Bug: Keywords do not register when they're in lowercase (flying vs Flying, for instance) git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@256 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -366,7 +366,7 @@ void ImageSlicePreview::draw(DC& dc) {
|
||||
bitmap = Bitmap(image.GetWidth(), image.GetHeight());
|
||||
wxMemoryDC mdc; mdc.SelectObject(bitmap);
|
||||
// draw checker pattern behind image
|
||||
RealRect rect = GetClientSize();
|
||||
RealRect rect = (RealRect) GetClientSize();
|
||||
RotatedDC rdc(mdc, 0, rect, 1, QUALITY_LOW);
|
||||
draw_checker(rdc, rect);
|
||||
rdc.DrawImage(image, RealPoint(0,0));
|
||||
|
||||
Reference in New Issue
Block a user