mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
Removed some changes I made to attempt to debug the Linux version and forgot to take out.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@189 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -114,11 +114,10 @@ HoverButtonExt::HoverButtonExt(Window* parent, int id, const wxImage& icon, cons
|
||||
{}
|
||||
|
||||
void HoverButtonExt::draw(DC& dc) {
|
||||
handle_error(Error(_("HEYA")));
|
||||
// draw button
|
||||
HoverButton::draw(dc);
|
||||
// icon
|
||||
if (icon.Ok()) dc.DrawBitmap(icon, 7, 7); else handle_error(Error(_("Error drawing button bitmaps")));
|
||||
if (icon.Ok()) dc.DrawBitmap(icon, 7, 7);
|
||||
// text
|
||||
dc.SetTextForeground(*wxBLACK);
|
||||
dc.SetFont(font_large);
|
||||
|
||||
Reference in New Issue
Block a user